Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 179.4 kB / 16.72 MB, free: 5.078 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.379/1.379, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008709/0.0008707, allocations: 90.34 kB / 271.2 MB, free: 8.242 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.3233/0.3233, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 16 kB / 432 MB, free: 5.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002028/0.1153, allocations: 1.475 MB / 492.3 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1171, allocations: 1.403 MB / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.1172, allocations: 4 kB / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1175, allocations: 39.83 kB / 493.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1178, allocations: 71.67 kB / 493.8 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1181, allocations: 123.8 kB / 493.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.1183, allocations: 159.4 kB / 494.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.417e-05/0.1184, allocations: 21.52 kB / 494.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1185, allocations: 67.64 kB / 494.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1187, allocations: 67.69 kB / 494.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1187, allocations: 4 kB / 494.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1188, allocations: 55.97 kB / 494.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1189, allocations: 23.84 kB / 494.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.119, allocations: 73.44 kB / 494.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1191, allocations: 135.9 kB / 494.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1192, allocations: 0 / 494.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1192, allocations: 4 kB / 494.5 MB, free: 7.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1192, allocations: 0 / 494.5 MB, free: 7.125 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000533/0.1197, allocations: 442.9 kB / 495 MB, free: 6.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1198, allocations: 12.03 kB / 495 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.1198, allocations: 12.75 kB / 495 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1201, allocations: 247.6 kB / 495.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1201, allocations: 384 / 495.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1201, allocations: 12.06 kB / 495.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.1203, allocations: 101 kB / 495.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.1204, allocations: 4 kB / 495.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1204, allocations: 4 kB / 495.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1204, allocations: 0 / 495.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-05/0.1205, allocations: 31.91 kB / 495.4 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.1207, allocations: 210.5 kB / 495.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.121, allocations: 105.2 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.1211, allocations: 49.52 kB / 495.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1211, allocations: 4 kB / 495.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1213, allocations: 109.1 kB / 495.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1213, allocations: 0 / 495.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004308/0.1218, allocations: 165.4 kB / 496 MB, free: 5.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1218, allocations: 128.5 kB / 496.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1221, allocations: 207.8 kB / 496.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1221, allocations: 33.7 kB / 496.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1222, allocations: 116.1 kB / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1222, allocations: 31.62 kB / 496.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.1222, allocations: 8 kB / 496.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1223, allocations: 326.8 kB / 496.9 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.416e-05/0.1224, allocations: 23.98 kB / 496.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.1225, allocations: 65.12 kB / 496.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1227, allocations: 91.39 kB / 497 MB, free: 4.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1227, allocations: 0 / 497 MB, free: 4.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002407/0.1229, allocations: 145.9 kB / 497.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1229, allocations: 4 kB / 497.2 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.123, allocations: 8.062 kB / 497.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.123, allocations: 7.984 kB / 497.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1231, allocations: 23.92 kB / 497.2 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1231, allocations: 4 kB / 497.2 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.1232, allocations: 7.938 kB / 497.2 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1232, allocations: 4 kB / 497.2 MB, free: 4.133 MB / 378.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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001124/0.1233, allocations: 141.8 kB / 497.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1234, allocations: 15.81 kB / 497.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.1234, allocations: 20.98 kB / 497.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1234, allocations: 4 kB / 497.4 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1234, allocations: 3.938 kB / 497.4 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1234, allocations: 0 / 497.4 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1236, allocations: 217.4 kB / 497.6 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1236, allocations: 0 / 497.6 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.1237, allocations: 15.92 kB / 497.6 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1237, allocations: 0 / 497.6 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1237, allocations: 4 kB / 497.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1237, allocations: 0 / 497.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1237, allocations: 3.938 kB / 497.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.124, allocations: 173.6 kB / 497.8 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.124, allocations: 100.8 kB / 497.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1241, allocations: 7.984 kB / 497.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.1241, allocations: 4 kB / 497.9 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1242, allocations: 11.98 kB / 497.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1242, allocations: 8 kB / 497.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1244, allocations: 165.5 kB / 498.1 MB, free: 3.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1244, allocations: 0 / 498.1 MB, free: 3.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.1246, allocations: 32 kB / 498.1 MB, free: 3.125 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.0008993/0.1255, allocations: 461 kB / 498.6 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1258, allocations: 91.83 kB / 498.7 MB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1258, allocations: 0 / 498.7 MB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.1259, allocations: 36.36 kB / 498.7 MB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1262, allocations: 48.02 kB / 498.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.1267, allocations: 316.8 kB / 499.1 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.127, allocations: 0.7166 MB / 499.8 MB, free: 1.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.127, allocations: 23.42 kB / 499.8 MB, free: 1.438 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.127, allocations: 0 / 499.8 MB, free: 1.438 MB / 378.7 MB Notification: Performance of Templates: time 0.1701/0.2971, allocations: 2.682 MB / 0.4907 GB, free: 42.68 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches