Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 110.4 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2445/0.2445, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.475, allocations: 60.82 MB / 0.519 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003004/0.478, allocations: 1.723 MB / 0.5207 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.4796, allocations: 0.8765 MB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4798, allocations: 5.094 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.4803, allocations: 43.42 kB / 0.5216 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.4806, allocations: 63.83 kB / 0.5216 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.4811, allocations: 114.5 kB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.4814, allocations: 119.5 kB / 0.5219 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.4816, allocations: 14.02 kB / 0.5219 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.4818, allocations: 52.41 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.4819, allocations: 51.27 kB / 0.522 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.4819, allocations: 6.344 kB / 0.522 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.4821, allocations: 63.66 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.4822, allocations: 29.94 kB / 0.5221 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.4823, allocations: 35.91 kB / 0.5221 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.4827, allocations: 149 kB / 0.5222 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4827, allocations: 0 / 0.5222 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.4827, allocations: 1.281 kB / 0.5223 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.4827, allocations: 3.938 kB / 0.5223 GB, free: 1.504 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006709/0.4834, allocations: 429.2 kB / 0.5227 GB, free: 1.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4835, allocations: 9.969 kB / 0.5227 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.4835, allocations: 14.77 kB / 0.5227 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.4839, allocations: 231 kB / 0.5229 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.4839, allocations: 1.469 kB / 0.5229 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.4839, allocations: 7.953 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.4841, allocations: 70.66 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4841, allocations: 0.7031 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4842, allocations: 5.156 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4842, allocations: 1.156 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4843, allocations: 40.75 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.4848, allocations: 323.2 kB / 0.5233 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.485, allocations: 90.8 kB / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/0.4851, allocations: 30.59 kB / 0.5235 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.4852, allocations: 6.328 kB / 0.5235 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.4853, allocations: 86.69 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.4854, allocations: 1.406 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008248/0.4862, allocations: 290.5 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.4862, allocations: 58.97 kB / 0.5239 GB, free: 164 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.4864, allocations: 186.1 kB / 0.5241 GB, free: 28 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.4864, allocations: 35.67 kB / 0.5241 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.4865, allocations: 100.9 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.4866, allocations: 45.39 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.4866, allocations: 31.75 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4867, allocations: 327.3 kB / 0.5246 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-05/0.4868, allocations: 34.62 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.487, allocations: 59.42 kB / 0.5247 GB, free: 15.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.4872, allocations: 101.8 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.4872, allocations: 5.062 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000281/0.4875, allocations: 146.4 kB / 0.5249 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4875, allocations: 5.531 kB / 0.5249 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4875, allocations: 3.984 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4875, allocations: 5.938 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4876, allocations: 27.62 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4877, allocations: 5.75 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.4877, allocations: 2.062 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.4877, allocations: 9.469 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001394/0.4879, allocations: 130.7 kB / 0.5251 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.488, allocations: 14.3 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.4881, allocations: 19.61 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4881, allocations: 1.438 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.4881, allocations: 3.938 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.4881, allocations: 1.172 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.4888, allocations: 492.2 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4888, allocations: 1.125 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.4889, allocations: 17.73 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4889, allocations: 1.781 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4889, allocations: 7.188 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4889, allocations: 1.812 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.4889, allocations: 4.547 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.4892, allocations: 268.5 kB / 0.5259 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.4893, allocations: 92.53 kB / 0.526 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.4893, allocations: 0.6562 kB / 0.526 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.4894, allocations: 7.469 kB / 0.526 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.4894, allocations: 10.19 kB / 0.526 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.4895, allocations: 5.359 kB / 0.526 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.4896, allocations: 139.7 kB / 0.5261 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4896, allocations: 4 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.4899, allocations: 36.02 kB / 0.5262 GB, free: 14.35 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001228/0.4911, allocations: 0.4976 MB / 0.5266 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.4914, allocations: 98.2 kB / 0.5267 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4914, allocations: 1.375 kB / 0.5267 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.4915, allocations: 53.67 kB / 0.5268 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.4919, allocations: 39.77 kB / 0.5268 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.4925, allocations: 259.3 kB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4929, allocations: 0.7165 MB / 0.5278 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.349e-05/0.493, allocations: 35.17 kB / 0.5278 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.493, allocations: 20.41 kB / 0.5278 GB, free: 13.15 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.493, allocations: 1.344 kB / 0.5278 GB, free: 13.15 MB / 398.1 MB Notification: Performance of Templates: time 0.00559/0.4986, allocations: 2.193 MB / 0.53 GB, free: 12.24 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches