Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 198.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.275/1.275, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007973/0.0007974, allocations: 98.14 kB / 295.1 MB, free: 4.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1842/0.1842, allocations: 44.83 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002485, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09239, allocations: 62.96 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001666/0.0941, allocations: 1.51 MB / 0.5168 GB, free: 3.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.09593, allocations: 1.589 MB / 0.5184 GB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.09607, allocations: 0 / 0.5184 GB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.09634, allocations: 55.75 kB / 0.5184 GB, free: 1.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.09668, allocations: 103.6 kB / 0.5185 GB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.09706, allocations: 158.9 kB / 0.5187 GB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.09726, allocations: 175.4 kB / 0.5188 GB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.09733, allocations: 13.67 kB / 0.5188 GB, free: 1.492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.09745, allocations: 71.64 kB / 0.5189 GB, free: 1.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.09763, allocations: 83.59 kB / 0.519 GB, free: 1.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.09767, allocations: 4 kB / 0.519 GB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.09785, allocations: 87.95 kB / 0.5191 GB, free: 1.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.0979, allocations: 31.84 kB / 0.5191 GB, free: 1.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.09794, allocations: 53.56 kB / 0.5192 GB, free: 1.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.09816, allocations: 167.9 kB / 0.5193 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09817, allocations: 0 / 0.5193 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.09818, allocations: 0 / 0.5193 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.09819, allocations: 0 / 0.5193 GB, free: 0.9961 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005188/0.09872, allocations: 478.5 kB / 0.5198 GB, free: 492 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.09876, allocations: 8.031 kB / 0.5198 GB, free: 484 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.09881, allocations: 15.81 kB / 0.5198 GB, free: 468 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.09906, allocations: 254.6 kB / 0.52 GB, free: 172 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.09908, allocations: 7.984 kB / 0.5201 GB, free: 164 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.0991, allocations: 4 kB / 0.5201 GB, free: 160 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.09928, allocations: 93.03 kB / 0.5201 GB, free: 48 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.0993, allocations: 0 / 0.5201 GB, free: 48 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.09932, allocations: 7.984 kB / 0.5202 GB, free: 40 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.09933, allocations: 4 kB / 0.5202 GB, free: 36 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.09942, allocations: 27.98 kB / 0.5202 GB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.09969, allocations: 222.5 kB / 0.5204 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.09995, allocations: 109.2 kB / 0.5205 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.1, allocations: 37.7 kB / 0.5205 GB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1001, allocations: 0 / 0.5205 GB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1003, allocations: 113 kB / 0.5206 GB, free: 15.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1003, allocations: 4 kB / 0.5206 GB, free: 15.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004328/0.1008, allocations: 169.6 kB / 0.5208 GB, free: 15.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.1008, allocations: 132.5 kB / 0.5209 GB, free: 15.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.1011, allocations: 240.1 kB / 0.5212 GB, free: 14.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1011, allocations: 25.7 kB / 0.5212 GB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.1012, allocations: 116.1 kB / 0.5213 GB, free: 14.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.1013, allocations: 31.64 kB / 0.5213 GB, free: 14.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.1013, allocations: 0 / 0.5213 GB, free: 14.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1014, allocations: 338.8 kB / 0.5217 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.1015, allocations: 27.97 kB / 0.5217 GB, free: 14.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1016, allocations: 69.08 kB / 0.5217 GB, free: 14.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.498e-05/0.1017, allocations: 43.97 kB / 0.5218 GB, free: 14.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1017, allocations: 0 / 0.5218 GB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002437/0.102, allocations: 129.4 kB / 0.5219 GB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.102, allocations: 6.5 kB / 0.5219 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.102, allocations: 3.938 kB / 0.5219 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.102, allocations: 4 kB / 0.5219 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1021, allocations: 27.92 kB / 0.522 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.1021, allocations: 4 kB / 0.522 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.1022, allocations: 15.95 kB / 0.522 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1023, allocations: 4 kB / 0.522 GB, free: 13.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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 0.0001149/0.1024, allocations: 138.2 kB / 0.5221 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1024, allocations: 15.81 kB / 0.5221 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.1025, allocations: 24.98 kB / 0.5221 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1025, allocations: 0 / 0.5221 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1025, allocations: 0 / 0.5221 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.1025, allocations: 4 kB / 0.5222 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.1027, allocations: 225.5 kB / 0.5224 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1027, allocations: 7.953 kB / 0.5224 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1027, allocations: 12.44 kB / 0.5224 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1028, allocations: 0 / 0.5224 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1028, allocations: 4 kB / 0.5224 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1028, allocations: 4 kB / 0.5224 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1028, allocations: 0 / 0.5224 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1031, allocations: 169.6 kB / 0.5226 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.1032, allocations: 112.9 kB / 0.5227 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.1032, allocations: 0 / 0.5227 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.1033, allocations: 11.98 kB / 0.5227 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1033, allocations: 11.98 kB / 0.5227 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1034, allocations: 4 kB / 0.5227 GB, free: 13.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1036, allocations: 173.8 kB / 0.5229 GB, free: 12.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1036, allocations: 0 / 0.5229 GB, free: 12.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.1038, allocations: 55.92 kB / 0.5229 GB, free: 12.94 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001049/0.1049, allocations: 0.4987 MB / 0.5234 GB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1051, allocations: 79.91 kB / 0.5235 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1051, allocations: 0 / 0.5235 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.1052, allocations: 35.98 kB / 0.5235 GB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1056, allocations: 53.98 kB / 0.5236 GB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.1062, allocations: 328.8 kB / 0.5239 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1065, allocations: 0.7245 MB / 0.5246 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.1065, allocations: 27.42 kB / 0.5246 GB, free: 11.3 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1065, allocations: 0 / 0.5246 GB, free: 11.3 MB / 362.7 MB Notification: Performance of Templates: time 0.005126/0.1117, allocations: 3.162 MB / 0.5277 GB, free: 8.148 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches