Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009322/0.0009323, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007162/0.0007163, allocations: 98.67 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.275/0.275, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002372, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2821, allocations: 63.1 MB / 0.5214 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001499/0.2837, allocations: 1.308 MB / 0.5227 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007296/0.2844, allocations: 0.7414 MB / 0.5234 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.2845, allocations: 4 kB / 0.5234 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.2847, allocations: 124.9 kB / 0.5235 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.2849, allocations: 108.8 kB / 0.5236 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.2852, allocations: 97.38 kB / 0.5237 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2853, allocations: 93.59 kB / 0.5238 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.2854, allocations: 21.05 kB / 0.5238 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.2855, allocations: 36.31 kB / 0.5238 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.2856, allocations: 82.09 kB / 0.5239 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2856, allocations: 2.875 kB / 0.5239 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.2857, allocations: 41.05 kB / 0.524 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.2857, allocations: 29.59 kB / 0.524 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.2858, allocations: 63.17 kB / 0.524 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2859, allocations: 122.3 kB / 0.5242 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2859, allocations: 0 / 0.5242 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2859, allocations: 0 / 0.5242 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.286, allocations: 0 / 0.5242 GB, free: 36.45 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003467/0.2863, allocations: 417.9 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2863, allocations: 8.969 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.2864, allocations: 14.47 kB / 0.5246 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.2865, allocations: 209.2 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.2865, allocations: 4.375 kB / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.2866, allocations: 7.344 kB / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.2867, allocations: 59.2 kB / 0.5249 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2867, allocations: 0 / 0.5249 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2867, allocations: 3.031 kB / 0.5249 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2867, allocations: 0 / 0.5249 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.2868, allocations: 35.36 kB / 0.5249 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.2871, allocations: 318 kB / 0.5252 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.401e-05/0.2872, allocations: 44.38 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.2873, allocations: 24.25 kB / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2873, allocations: 4 kB / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.2873, allocations: 34.5 kB / 0.5253 GB, free: 35.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2873, allocations: 0 / 0.5253 GB, free: 35.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007818/0.2881, allocations: 274.8 kB / 0.5256 GB, free: 35.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.2882, allocations: 55.41 kB / 0.5256 GB, free: 35.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.2884, allocations: 279.2 kB / 0.5259 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2884, allocations: 28.61 kB / 0.5259 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.2884, allocations: 117.5 kB / 0.526 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.2885, allocations: 32.72 kB / 0.526 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.2885, allocations: 0 / 0.526 GB, free: 34.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/0.2885, allocations: 321.2 kB / 0.5264 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.2886, allocations: 41.61 kB / 0.5264 GB, free: 34.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.2887, allocations: 35.19 kB / 0.5264 GB, free: 34.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2889, allocations: 81.92 kB / 0.5265 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2889, allocations: 2.812 kB / 0.5265 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001874/0.2891, allocations: 119.7 kB / 0.5266 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2891, allocations: 5.969 kB / 0.5266 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2891, allocations: 0 / 0.5266 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2891, allocations: 2.938 kB / 0.5266 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.2892, allocations: 25.66 kB / 0.5267 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2892, allocations: 4 kB / 0.5267 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.2893, allocations: 21.66 kB / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.2893, allocations: 2.938 kB / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.514e-05/0.2894, allocations: 132.2 kB / 0.5268 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.2894, allocations: 16.98 kB / 0.5268 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.2897, allocations: 141.1 kB / 0.527 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2897, allocations: 2.656 kB / 0.527 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2897, allocations: 0 / 0.527 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2897, allocations: 7.922 kB / 0.527 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.2902, allocations: 436.6 kB / 0.5274 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2902, allocations: 0 / 0.5274 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.2902, allocations: 24.27 kB / 0.5274 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2902, allocations: 7.875 kB / 0.5274 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2903, allocations: 0 / 0.5274 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2903, allocations: 2.656 kB / 0.5274 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2903, allocations: 0 / 0.5274 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.2905, allocations: 230.2 kB / 0.5276 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.2905, allocations: 97.28 kB / 0.5277 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2905, allocations: 0 / 0.5277 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.2906, allocations: 13.97 kB / 0.5277 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.2907, allocations: 6.281 kB / 0.5277 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2907, allocations: 2.562 kB / 0.5278 GB, free: 33.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.2908, allocations: 208.9 kB / 0.5279 GB, free: 33.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2908, allocations: 0 / 0.5279 GB, free: 33.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.291, allocations: 18.78 kB / 0.528 GB, free: 33.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009364/0.292, allocations: 0.5129 MB / 0.5285 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2922, allocations: 78.22 kB / 0.5285 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2922, allocations: 7.938 kB / 0.5286 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.2923, allocations: 43.41 kB / 0.5286 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.2926, allocations: 20.62 kB / 0.5286 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.293, allocations: 357.8 kB / 0.529 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2932, allocations: 0.7241 MB / 0.5297 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.048e-05/0.2932, allocations: 24.16 kB / 0.5297 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.2933, allocations: 13.22 kB / 0.5297 GB, free: 32.15 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2933, allocations: 0 / 0.5297 GB, free: 32.15 MB / 378.7 MB Notification: Performance of Templates: time 0.003258/0.2965, allocations: 1.337 MB / 0.531 GB, free: 31.99 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches