Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009385/0.0009385, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 226.6 MB / 243.1 MB, free: 12.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007065/0.0007065, allocations: 98.05 kB / 295.1 MB, free: 4.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1863/0.1863, allocations: 44.84 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 12 kB / 464.8 MB, free: 68.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.0864, allocations: 62.95 MB / 0.5153 GB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001332/0.08777, allocations: 1.427 MB / 0.5167 GB, free: 3.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.08875, allocations: 0.9402 MB / 0.5176 GB, free: 2.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.08882, allocations: 3.938 kB / 0.5176 GB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.08901, allocations: 43.83 kB / 0.5177 GB, free: 2.656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.08919, allocations: 59.77 kB / 0.5177 GB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.08939, allocations: 103 kB / 0.5178 GB, free: 2.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.899e-05/0.0895, allocations: 91.69 kB / 0.5179 GB, free: 2.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/0.08957, allocations: 11.98 kB / 0.5179 GB, free: 2.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.08964, allocations: 43.78 kB / 0.518 GB, free: 2.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.08969, allocations: 31.84 kB / 0.518 GB, free: 2.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.08971, allocations: 0 / 0.518 GB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.08978, allocations: 39.86 kB / 0.5181 GB, free: 2.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.08982, allocations: 19.92 kB / 0.5181 GB, free: 2.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.08985, allocations: 33.7 kB / 0.5181 GB, free: 2.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.08996, allocations: 92.09 kB / 0.5182 GB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.08997, allocations: 3.984 kB / 0.5182 GB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08997, allocations: 3.938 kB / 0.5182 GB, free: 2.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.08998, allocations: 0 / 0.5182 GB, free: 2.129 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003467/0.09033, allocations: 395 kB / 0.5186 GB, free: 1.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.498e-05/0.09036, allocations: 8.031 kB / 0.5186 GB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.0904, allocations: 15.81 kB / 0.5186 GB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.09055, allocations: 207.5 kB / 0.5188 GB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.09057, allocations: 4 kB / 0.5188 GB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.09059, allocations: 3.938 kB / 0.5188 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.0907, allocations: 53.67 kB / 0.5189 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.09072, allocations: 0 / 0.5189 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.09073, allocations: 11.94 kB / 0.5189 GB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.09074, allocations: 0 / 0.5189 GB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.0908, allocations: 19.98 kB / 0.5189 GB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.09104, allocations: 284.9 kB / 0.5192 GB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.09117, allocations: 58.67 kB / 0.5192 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.09122, allocations: 28.78 kB / 0.5192 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.09125, allocations: 0 / 0.5192 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.09138, allocations: 67.3 kB / 0.5193 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.09139, allocations: 0 / 0.5193 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004087/0.09181, allocations: 177.2 kB / 0.5195 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.09184, allocations: 55.41 kB / 0.5195 GB, free: 0.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.09196, allocations: 204.1 kB / 0.5197 GB, free: 384 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.09198, allocations: 25.7 kB / 0.5197 GB, free: 352 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.09201, allocations: 112 kB / 0.5199 GB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.09204, allocations: 19.72 kB / 0.5199 GB, free: 216 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.09204, allocations: 0 / 0.5199 GB, free: 216 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.09212, allocations: 326.8 kB / 0.5202 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.09218, allocations: 15.98 kB / 0.5202 GB, free: 15.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.09224, allocations: 41.64 kB / 0.5202 GB, free: 15.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.134e-05/0.09231, allocations: 31.94 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.09232, allocations: 0 / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.09249, allocations: 97.48 kB / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.09251, allocations: 4 kB / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.09252, allocations: 4 kB / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.09253, allocations: 0 / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.09261, allocations: 15.94 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.09262, allocations: 0 / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.09268, allocations: 16.02 kB / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.09269, allocations: 7.953 kB / 0.5204 GB, free: 15.64 MB / 362.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.09278, allocations: 121.8 kB / 0.5205 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.0928, allocations: 7.906 kB / 0.5205 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.09285, allocations: 21.39 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.09285, allocations: 0 / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.09286, allocations: 3.938 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.09287, allocations: 0 / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.09325, allocations: 403.3 kB / 0.5209 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.09327, allocations: 0 / 0.5209 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.0933, allocations: 8 kB / 0.521 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.09331, allocations: 3.984 kB / 0.521 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.09332, allocations: 4 kB / 0.521 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.09333, allocations: 0 / 0.521 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.09334, allocations: 7.891 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.09354, allocations: 208.2 kB / 0.5212 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.09359, allocations: 89 kB / 0.5212 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.09362, allocations: 4 kB / 0.5213 GB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.09369, allocations: 4 kB / 0.5213 GB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.09373, allocations: 11.94 kB / 0.5213 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.09375, allocations: 4 kB / 0.5213 GB, free: 14.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.09386, allocations: 147.2 kB / 0.5214 GB, free: 14.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09387, allocations: 0 / 0.5214 GB, free: 14.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.09409, allocations: 28 kB / 0.5214 GB, free: 14.48 MB / 362.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: 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008326/0.09493, allocations: 471 kB / 0.5219 GB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.09509, allocations: 59.97 kB / 0.5219 GB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.0951, allocations: 0 / 0.5219 GB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.09517, allocations: 35.92 kB / 0.522 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.09547, allocations: 22.23 kB / 0.522 GB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.09586, allocations: 275.9 kB / 0.5223 GB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.09609, allocations: 0.7043 MB / 0.523 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.09613, allocations: 19.42 kB / 0.523 GB, free: 13 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.09614, allocations: 7.938 kB / 0.523 GB, free: 13 MB / 362.7 MB Notification: Performance of Templates: time 0.00296/0.09911, allocations: 1.924 MB / 0.5249 GB, free: 11.08 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches