Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009374/0.0009374, allocations: 200.2 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008285/0.0008286, allocations: 93.5 kB / 295.1 MB, free: 4.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1859/0.1859, allocations: 44.84 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002655, allocations: 12 kB / 464.8 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09474, allocations: 62.96 MB / 0.5153 GB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001591/0.09637, allocations: 1.427 MB / 0.5167 GB, free: 3.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.09797, allocations: 1.507 MB / 0.5182 GB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.09805, allocations: 7.875 kB / 0.5182 GB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.0983, allocations: 35.91 kB / 0.5182 GB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.09853, allocations: 83.67 kB / 0.5183 GB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.09875, allocations: 87.83 kB / 0.5184 GB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.09888, allocations: 91.67 kB / 0.5185 GB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.09897, allocations: 8 kB / 0.5185 GB, free: 1.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.09905, allocations: 43.73 kB / 0.5185 GB, free: 1.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.0992, allocations: 39.77 kB / 0.5186 GB, free: 1.742 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.09923, allocations: 4 kB / 0.5186 GB, free: 1.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.09942, allocations: 95.94 kB / 0.5187 GB, free: 1.645 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.09947, allocations: 15.92 kB / 0.5187 GB, free: 1.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.09952, allocations: 41.64 kB / 0.5187 GB, free: 1.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.09973, allocations: 124 kB / 0.5189 GB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.09974, allocations: 0 / 0.5189 GB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09975, allocations: 0 / 0.5189 GB, free: 1.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.09976, allocations: 0 / 0.5189 GB, free: 1.461 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.0004859/0.1003, allocations: 407 kB / 0.5192 GB, free: 1.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1003, allocations: 8.031 kB / 0.5192 GB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.1003, allocations: 15.91 kB / 0.5193 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1006, allocations: 206.2 kB / 0.5195 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1006, allocations: 7.938 kB / 0.5195 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1006, allocations: 4 kB / 0.5195 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1008, allocations: 67.39 kB / 0.5195 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1008, allocations: 0 / 0.5195 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1008, allocations: 0 / 0.5195 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1008, allocations: 0 / 0.5195 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.1009, allocations: 19.98 kB / 0.5196 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.1013, allocations: 288.9 kB / 0.5198 GB, free: 320 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1014, allocations: 62.61 kB / 0.5199 GB, free: 248 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.1015, allocations: 16.86 kB / 0.5199 GB, free: 228 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1015, allocations: 3.984 kB / 0.5199 GB, free: 224 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1017, allocations: 75.39 kB / 0.52 GB, free: 136 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.1017, allocations: 0 / 0.52 GB, free: 136 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005174/0.1023, allocations: 169.1 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.1023, allocations: 89.05 kB / 0.5202 GB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1025, allocations: 167.1 kB / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1025, allocations: 25.7 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.1026, allocations: 108.1 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1026, allocations: 23.66 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-06/0.1026, allocations: 0 / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.1027, allocations: 322.8 kB / 0.5208 GB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.1028, allocations: 23.98 kB / 0.5209 GB, free: 15.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.1028, allocations: 42.5 kB / 0.5209 GB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/0.1029, allocations: 24.03 kB / 0.5209 GB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1029, allocations: 4 kB / 0.5209 GB, free: 15.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002338/0.1032, allocations: 105.5 kB / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1032, allocations: 4 kB / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1032, allocations: 0 / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1032, allocations: 0 / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.1033, allocations: 19.98 kB / 0.5211 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1033, allocations: 0 / 0.5211 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.1034, allocations: 4 kB / 0.5211 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1034, allocations: 7.953 kB / 0.5211 GB, free: 14.95 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 9.982e-05/0.1035, allocations: 128.5 kB / 0.5212 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.1035, allocations: 11.81 kB / 0.5212 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.1036, allocations: 20.69 kB / 0.5212 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1036, allocations: 4 kB / 0.5212 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1036, allocations: 0 / 0.5212 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1036, allocations: 0 / 0.5212 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.104, allocations: 399.4 kB / 0.5216 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.104, allocations: 0 / 0.5216 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.104, allocations: 11.98 kB / 0.5216 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1041, allocations: 0 / 0.5216 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1041, allocations: 8 kB / 0.5216 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1041, allocations: 0 / 0.5216 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1041, allocations: 3.953 kB / 0.5216 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.1043, allocations: 204.2 kB / 0.5218 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1043, allocations: 93 kB / 0.5219 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1044, allocations: 0 / 0.5219 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1045, allocations: 8.375 kB / 0.5219 GB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1045, allocations: 15.88 kB / 0.5219 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1045, allocations: 8 kB / 0.5219 GB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.526e-05/0.1046, allocations: 123.2 kB / 0.5221 GB, free: 13.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1046, allocations: 0 / 0.5221 GB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.1049, allocations: 47.89 kB / 0.5221 GB, free: 13.78 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.001025/0.1059, allocations: 0.5419 MB / 0.5226 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1061, allocations: 63.91 kB / 0.5227 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1061, allocations: 0 / 0.5227 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.1062, allocations: 31.98 kB / 0.5227 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1065, allocations: 27.97 kB / 0.5228 GB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1069, allocations: 239.8 kB / 0.523 GB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1071, allocations: 0.6976 MB / 0.5237 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.1072, allocations: 23.42 kB / 0.5237 GB, free: 12.28 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1072, allocations: 0 / 0.5237 GB, free: 12.28 MB / 362.7 MB Notification: Performance of Templates: time 0.003752/0.111, allocations: 2.397 MB / 0.526 GB, free: 9.891 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches