Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 106.1 kB / 16.64 MB, free: 6.812 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.001087/0.001087, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.378/1.378, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.1977/0.1977, allocations: 43.51 MB / 314.3 MB, free: 0.7109 MB / 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.001357/0.001357, allocations: 69.61 kB / 382.9 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 57.78 MB / 440.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003054/0.1087, allocations: 1.752 MB / 442.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1098, allocations: 0.7928 MB / 443.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1099, allocations: 0 / 443.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1102, allocations: 35.83 kB / 443.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.1105, allocations: 47.83 kB / 443.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1108, allocations: 75.84 kB / 443.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1109, allocations: 95.7 kB / 443.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.1111, allocations: 8.516 kB / 443.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.581e-05/0.1111, allocations: 51.77 kB / 443.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.1112, allocations: 23.86 kB / 443.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1112, allocations: 4 kB / 443.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1114, allocations: 39.98 kB / 443.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.1114, allocations: 23.84 kB / 443.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1115, allocations: 27.81 kB / 443.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1116, allocations: 75.84 kB / 443.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1116, allocations: 8 kB / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1116, allocations: 0 / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1117, allocations: 0 / 443.7 MB, free: 4.27 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.00046/0.1121, allocations: 411 kB / 444.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1122, allocations: 15.89 kB / 444.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1122, allocations: 8.844 kB / 444.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1124, allocations: 200.7 kB / 444.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1124, allocations: 11.88 kB / 444.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1125, allocations: 8 kB / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1126, allocations: 57.61 kB / 444.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1126, allocations: 0 / 444.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1126, allocations: 0 / 444.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1126, allocations: 4 kB / 444.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.638e-05/0.1127, allocations: 15.98 kB / 444.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.113, allocations: 280.9 kB / 444.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1132, allocations: 62.61 kB / 444.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.1132, allocations: 20.86 kB / 444.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1133, allocations: 0 / 444.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.1135, allocations: 67.39 kB / 444.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1135, allocations: 0 / 444.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.114, allocations: 177.2 kB / 445 MB, free: 2.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.114, allocations: 55.34 kB / 445.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1142, allocations: 159.2 kB / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1142, allocations: 29.7 kB / 445.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.1142, allocations: 100.1 kB / 445.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.1142, allocations: 27.59 kB / 445.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.1143, allocations: 25.7 kB / 445.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.1143, allocations: 318.8 kB / 445.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/0.1144, allocations: 27.94 kB / 445.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.1145, allocations: 34.08 kB / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.474e-05/0.1146, allocations: 57.7 kB / 445.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1146, allocations: 0 / 445.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001574/0.1147, allocations: 109.5 kB / 446 MB, free: 1.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1148, allocations: 4 kB / 446 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1148, allocations: 8.031 kB / 446 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1148, allocations: 3.938 kB / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.1149, allocations: 12 kB / 446 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1149, allocations: 0 / 446 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1149, allocations: 7.984 kB / 446 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1149, allocations: 7.938 kB / 446 MB, free: 1.75 MB / 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 6.69e-05/0.115, allocations: 121.8 kB / 446.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.115, allocations: 19.8 kB / 446.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.1151, allocations: 24.64 kB / 446.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1151, allocations: 0 / 446.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1151, allocations: 0 / 446.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1151, allocations: 192 / 446.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.1154, allocations: 383.3 kB / 446.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1155, allocations: 3.938 kB / 446.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.1155, allocations: 8 kB / 446.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1155, allocations: 0 / 446.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1155, allocations: 8 kB / 446.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1155, allocations: 4.031 kB / 446.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1155, allocations: 0 / 446.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1157, allocations: 208.1 kB / 446.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.1157, allocations: 89.02 kB / 446.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1158, allocations: 0 / 446.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1158, allocations: 4 kB / 446.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.1159, allocations: 11.98 kB / 446.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1159, allocations: 0 / 446.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.764e-05/0.116, allocations: 131.9 kB / 447 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.116, allocations: 0 / 447 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1162, allocations: 27.94 kB / 447 MB, free: 0.6133 MB / 318.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.001097/0.1173, allocations: 470.9 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1175, allocations: 59.86 kB / 447.5 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1175, allocations: 4 kB / 447.5 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.1176, allocations: 27.92 kB / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1179, allocations: 35.91 kB / 447.6 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.1185, allocations: 252.7 kB / 447.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1188, allocations: 0.7002 MB / 448.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.1188, allocations: 23.36 kB / 448.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1189, allocations: 0 / 448.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Templates: time 0.004005/0.1229, allocations: 1.862 MB / 450.4 MB, free: 13.23 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches