Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001123, allocations: 174.6 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007198/0.0007199, allocations: 92.98 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3025/0.3025, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 20 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09737, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001714/0.09913, allocations: 1.394 MB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1002, allocations: 0.7461 MB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.1002, allocations: 4 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1005, allocations: 31.83 kB / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1007, allocations: 47.83 kB / 493.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1009, allocations: 79.83 kB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1011, allocations: 83.7 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1011, allocations: 16.22 kB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.1012, allocations: 43.83 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.1013, allocations: 27.8 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1013, allocations: 0 / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.1014, allocations: 39.92 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.1015, allocations: 23.84 kB / 493.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.1015, allocations: 53.52 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1017, allocations: 84.09 kB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1017, allocations: 0 / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1017, allocations: 0 / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1017, allocations: 0 / 493.5 MB, free: 7.953 MB / 378.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.0004362/0.1021, allocations: 411 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1022, allocations: 8.031 kB / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1022, allocations: 12.84 kB / 493.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.1024, allocations: 208.7 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1024, allocations: 4.375 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1024, allocations: 4.125 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1026, allocations: 57.61 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1026, allocations: 4 kB / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1026, allocations: 4 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1027, allocations: 0 / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.1027, allocations: 23.92 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.103, allocations: 288.9 kB / 494.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1032, allocations: 54.67 kB / 494.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.1033, allocations: 24.84 kB / 494.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1033, allocations: 0 / 494.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1034, allocations: 67.33 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1035, allocations: 4 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000484/0.104, allocations: 173.2 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.104, allocations: 55.41 kB / 494.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1042, allocations: 200.7 kB / 495.1 MB, free: 6.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1042, allocations: 29.7 kB / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.1042, allocations: 100.1 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1043, allocations: 19.72 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.1043, allocations: 4 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.1044, allocations: 326.8 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.1044, allocations: 19.98 kB / 495.6 MB, free: 5.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.1045, allocations: 37.7 kB / 495.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1046, allocations: 61.66 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1046, allocations: 0 / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.1048, allocations: 105.7 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1048, allocations: 4 kB / 495.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1048, allocations: 7.938 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1049, allocations: 0 / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.1049, allocations: 19.92 kB / 495.8 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.105, allocations: 4.031 kB / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.105, allocations: 11.92 kB / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.105, allocations: 4 kB / 495.8 MB, free: 5.414 MB / 378.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.227e-05/0.1051, allocations: 133.6 kB / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.1051, allocations: 11.91 kB / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.1052, allocations: 13.41 kB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1052, allocations: 0 / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1052, allocations: 0 / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1052, allocations: 15.86 kB / 496 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.1056, allocations: 395.4 kB / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1056, allocations: 0 / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.1057, allocations: 8 kB / 496.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1057, allocations: 0 / 496.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1057, allocations: 7.938 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1057, allocations: 4.391 kB / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1057, allocations: 3.984 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1059, allocations: 204.3 kB / 496.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.106, allocations: 88.92 kB / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.106, allocations: 15.94 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.1061, allocations: 3.984 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.1061, allocations: 4 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1061, allocations: 4 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1062, allocations: 156.9 kB / 496.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1062, allocations: 0 / 496.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000233/0.1065, allocations: 27.98 kB / 496.9 MB, free: 4.238 MB / 378.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.0008844/0.1074, allocations: 461.7 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.1075, allocations: 55.98 kB / 497.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1075, allocations: 0 / 497.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.617e-05/0.1076, allocations: 27.92 kB / 497.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1079, allocations: 31.25 kB / 497.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.1083, allocations: 268.2 kB / 497.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.1086, allocations: 0.7083 MB / 498.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1086, allocations: 19.42 kB / 498.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1086, allocations: 4 kB / 498.4 MB, free: 2.656 MB / 378.7 MB Notification: Performance of Templates: time 0.003095/0.1117, allocations: 1.895 MB / 0.4886 GB, free: 0.7617 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches