Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 200.7 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.271/1.271, allocations: 226.5 MB / 243.1 MB, free: 12.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008126/0.0008126, allocations: 96.31 kB / 295.1 MB, free: 4.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1815/0.1815, allocations: 44.84 MB / 392 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002296/0.0002296, allocations: 8 kB / 464.7 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08974, allocations: 62.97 MB / 0.5153 GB, free: 5.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001646/0.09143, allocations: 1.51 MB / 0.5168 GB, free: 3.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.09275, allocations: 1.03 MB / 0.5178 GB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.09288, allocations: 0 / 0.5178 GB, free: 2.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.09328, allocations: 303.4 kB / 0.5181 GB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.09364, allocations: 227.4 kB / 0.5183 GB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.09405, allocations: 143.8 kB / 0.5185 GB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.09429, allocations: 223.3 kB / 0.5187 GB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.09435, allocations: 17.66 kB / 0.5187 GB, free: 1.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.0945, allocations: 115.5 kB / 0.5188 GB, free: 1.516 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.09467, allocations: 163.6 kB / 0.519 GB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.0947, allocations: 4 kB / 0.519 GB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.0948, allocations: 31.98 kB / 0.519 GB, free: 1.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.0949, allocations: 143.5 kB / 0.5191 GB, free: 1.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.09496, allocations: 81.45 kB / 0.5192 GB, free: 1.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.09519, allocations: 283.8 kB / 0.5195 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.0952, allocations: 0 / 0.5195 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0952, allocations: 4 kB / 0.5195 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.09522, allocations: 0 / 0.5195 GB, free: 0.8125 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.0006958/0.09592, allocations: 0.6803 MB / 0.5201 GB, free: 84 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.09596, allocations: 12.03 kB / 0.5202 GB, free: 72 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.09604, allocations: 51.33 kB / 0.5202 GB, free: 20 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.0966, allocations: 435 kB / 0.5206 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.09663, allocations: 4 kB / 0.5206 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.09665, allocations: 0 / 0.5206 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.09684, allocations: 83.38 kB / 0.5207 GB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.09686, allocations: 4 kB / 0.5207 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.09688, allocations: 3.984 kB / 0.5207 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.09689, allocations: 0 / 0.5207 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.097, allocations: 35.86 kB / 0.5207 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.09739, allocations: 382.3 kB / 0.5211 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.09765, allocations: 109.2 kB / 0.5212 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.09775, allocations: 41.64 kB / 0.5213 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.09777, allocations: 0 / 0.5213 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.09801, allocations: 113 kB / 0.5214 GB, free: 14.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.09802, allocations: 0 / 0.5214 GB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004549/0.09848, allocations: 201.3 kB / 0.5216 GB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.09855, allocations: 81.11 kB / 0.5216 GB, free: 14.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.09962, allocations: 1.058 MB / 0.5227 GB, free: 13.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.09965, allocations: 25.7 kB / 0.5227 GB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.09983, allocations: 240.1 kB / 0.5229 GB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.09988, allocations: 27.56 kB / 0.5229 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.09989, allocations: 0 / 0.5229 GB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1, allocations: 374.8 kB / 0.5233 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.1001, allocations: 23.98 kB / 0.5233 GB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.1002, allocations: 66.91 kB / 0.5234 GB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.593e-05/0.1003, allocations: 40.06 kB / 0.5234 GB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1004, allocations: 0 / 0.5234 GB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002806/0.1006, allocations: 168.9 kB / 0.5236 GB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1007, allocations: 4 kB / 0.5236 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1007, allocations: 3.984 kB / 0.5236 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1007, allocations: 4.062 kB / 0.5236 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1008, allocations: 20 kB / 0.5236 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1008, allocations: 4 kB / 0.5236 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1009, allocations: 15.92 kB / 0.5236 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.101, allocations: 4 kB / 0.5236 GB, free: 12.29 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002025/0.1012, allocations: 225.7 kB / 0.5239 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.1012, allocations: 55.34 kB / 0.5239 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.1013, allocations: 60.14 kB / 0.524 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1013, allocations: 4 kB / 0.524 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1013, allocations: 0 / 0.524 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1013, allocations: 0 / 0.524 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1016, allocations: 345.4 kB / 0.5243 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1016, allocations: 3.953 kB / 0.5243 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.1017, allocations: 7.984 kB / 0.5243 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1017, allocations: 7.938 kB / 0.5243 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1017, allocations: 4 kB / 0.5243 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1017, allocations: 0 / 0.5243 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1017, allocations: 7.938 kB / 0.5243 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.1021, allocations: 201.3 kB / 0.5245 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1022, allocations: 152.4 kB / 0.5247 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.1022, allocations: 4 kB / 0.5247 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.1023, allocations: 7.984 kB / 0.5247 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.1024, allocations: 15.92 kB / 0.5247 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1024, allocations: 4 kB / 0.5247 GB, free: 11.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007571/0.1032, allocations: 0.7838 MB / 0.5255 GB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1032, allocations: 0 / 0.5255 GB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.1034, allocations: 47.98 kB / 0.5255 GB, free: 10.27 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0008138/0.1043, allocations: 406.9 kB / 0.5259 GB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1045, allocations: 76.03 kB / 0.526 GB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1045, allocations: 0 / 0.526 GB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1046, allocations: 52.28 kB / 0.526 GB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.105, allocations: 60.47 kB / 0.5261 GB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1062, allocations: 0.9768 MB / 0.527 GB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.1066, allocations: 0.8468 MB / 0.5279 GB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/0.1067, allocations: 31.44 kB / 0.5279 GB, free: 7.898 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1067, allocations: 0 / 0.5279 GB, free: 7.898 MB / 362.7 MB Notification: Performance of Templates: time 0.007564/0.1143, allocations: 5.108 MB / 0.5329 GB, free: 2.805 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches