Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 107.3 kB / 17.02 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 195.6 kB / 17.96 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2064/0.2064, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 65.11 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08926, allocations: 57.8 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00261/0.0919, allocations: 1.681 MB / 443.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.0929, allocations: 0.8039 MB / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.09298, allocations: 0 / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.09332, allocations: 87.77 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.09355, allocations: 71.66 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.09377, allocations: 83.77 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.09394, allocations: 107.7 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.09406, allocations: 12.22 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.09414, allocations: 59.77 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.09424, allocations: 51.81 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.09426, allocations: 4 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.09435, allocations: 47.92 kB / 445 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.0944, allocations: 19.92 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.09446, allocations: 35.73 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.09463, allocations: 119.6 kB / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.09464, allocations: 0 / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09465, allocations: 0 / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.09468, allocations: 0 / 445.1 MB, free: 2.965 MB / 318.1 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.0004544/0.09514, allocations: 426.9 kB / 445.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.09518, allocations: 11.89 kB / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.09523, allocations: 20.75 kB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.09546, allocations: 208 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.09549, allocations: 384 / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.09551, allocations: 4.125 kB / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.09565, allocations: 57.67 kB / 445.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.09568, allocations: 3.938 kB / 445.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.09569, allocations: 4 kB / 445.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.0957, allocations: 0 / 445.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/0.09578, allocations: 23.98 kB / 445.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.0961, allocations: 296.7 kB / 446.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.09627, allocations: 54.69 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.09632, allocations: 24.84 kB / 446.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.09635, allocations: 4 kB / 446.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.09649, allocations: 71.31 kB / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.0965, allocations: 0 / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005248/0.09703, allocations: 169.2 kB / 446.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.09708, allocations: 59.34 kB / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.09724, allocations: 211.6 kB / 446.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.09726, allocations: 29.7 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.09731, allocations: 104.1 kB / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.09734, allocations: 27.64 kB / 446.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.09738, allocations: 21.72 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.09744, allocations: 326.8 kB / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.0975, allocations: 23.98 kB / 447.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.09756, allocations: 33.7 kB / 447.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.111e-05/0.09766, allocations: 61.66 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.09766, allocations: 0 / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001482/0.09782, allocations: 109.5 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.09784, allocations: 8 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.09785, allocations: 0 / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.09787, allocations: 0 / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.09797, allocations: 23.92 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.09798, allocations: 4.031 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.09803, allocations: 4.312 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.09805, allocations: 4 kB / 447.5 MB, free: 356 kB / 318.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.422e-05/0.09815, allocations: 141.1 kB / 447.7 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.09817, allocations: 7.906 kB / 447.7 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.09822, allocations: 21.41 kB / 447.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.09823, allocations: 3.984 kB / 447.7 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.09824, allocations: 0 / 447.7 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.09825, allocations: 3.938 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.09869, allocations: 399.4 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.09871, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.09875, allocations: 11.94 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.09875, allocations: 0 / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.09878, allocations: 15.92 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.09878, allocations: 0 / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.09879, allocations: 3.938 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.09901, allocations: 200.3 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.09907, allocations: 88.92 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.0991, allocations: 11.94 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.09917, allocations: 0 / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.09921, allocations: 7.984 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.09923, allocations: 4 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.09936, allocations: 159.2 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09937, allocations: 4 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.09962, allocations: 27.98 kB / 448.6 MB, free: 15.15 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.1007, allocations: 459.2 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.1009, allocations: 63.97 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1009, allocations: 0 / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/0.101, allocations: 23.94 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.1013, allocations: 28.28 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.1018, allocations: 251 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.1022, allocations: 0.708 MB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.785e-05/0.1023, allocations: 20.81 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1023, allocations: 15.44 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1023, allocations: 0 / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Templates: time 0.004642/0.107, allocations: 1.707 MB / 451.9 MB, free: 11.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches