Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 110.5 kB / 17.04 MB, free: 5.359 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.001672/0.001672, allocations: 193.5 kB / 17.98 MB, free: 4.898 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.824/1.824, 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.2608/0.2608, allocations: 43.51 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.001479/0.001479, allocations: 74.22 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1438, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002942/0.1468, allocations: 1.652 MB / 443.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1478, allocations: 0.7867 MB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.1479, allocations: 3.938 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1482, allocations: 51.81 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1484, allocations: 59.75 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.1486, allocations: 83.7 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1488, allocations: 95.69 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.1488, allocations: 4 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.1489, allocations: 39.78 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.149, allocations: 23.86 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.149, allocations: 7.984 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.1491, allocations: 31.98 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.1491, allocations: 19.92 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.1492, allocations: 39.69 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1494, allocations: 119.6 kB / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1494, allocations: 0 / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1494, allocations: 0 / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1494, allocations: 3.938 kB / 445 MB, free: 3.117 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004443/0.1498, allocations: 434.7 kB / 445.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1499, allocations: 11.89 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1499, allocations: 12.84 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1502, allocations: 219.7 kB / 445.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1502, allocations: 4.375 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1502, allocations: 8.125 kB / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1503, allocations: 45.67 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1503, allocations: 0 / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1504, allocations: 0 / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1504, allocations: 4 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.1504, allocations: 19.92 kB / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1506, allocations: 185.7 kB / 445.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.1507, allocations: 54.61 kB / 446 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.1508, allocations: 24.78 kB / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1508, allocations: 0 / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.151, allocations: 75.23 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.354e-06/0.151, allocations: 7.922 kB / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002533/0.1512, allocations: 97.58 kB / 446.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.1513, allocations: 51.41 kB / 446.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1515, allocations: 258.5 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.1515, allocations: 25.7 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.1515, allocations: 112.1 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.1515, allocations: 15.75 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.1516, allocations: 25.7 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.1516, allocations: 326.8 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.1517, allocations: 15.94 kB / 447 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.457e-05/0.1517, allocations: 37.62 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.56e-05/0.1518, allocations: 45.7 kB / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1518, allocations: 0 / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001316/0.152, allocations: 89.62 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.152, allocations: 12.03 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.152, allocations: 0 / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.152, allocations: 0 / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.1521, allocations: 11.98 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1521, allocations: 4 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.1521, allocations: 0 / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1522, allocations: 4 kB / 447.2 MB, free: 0.6797 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 (7): * Single equations (assignments): 7 * 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 7.347e-05/0.1522, allocations: 141.7 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.1523, allocations: 11.81 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.1523, allocations: 24.98 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1523, allocations: 0 / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1523, allocations: 0 / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1523, allocations: 3.938 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.1524, allocations: 193.6 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1524, allocations: 4 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.1525, allocations: 0 / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1525, allocations: 0 / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1525, allocations: 8 kB / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1525, allocations: 0 / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1525, allocations: 0 / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.1526, allocations: 112.9 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.1527, allocations: 85.02 kB / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.1527, allocations: 12 kB / 447.8 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.1528, allocations: 3.984 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1528, allocations: 4 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1528, allocations: 0 / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.153, allocations: 200.4 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.003e-06/0.153, allocations: 4 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1532, allocations: 15.94 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009801/0.1542, allocations: 418.8 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.1544, allocations: 35.98 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1544, allocations: 0 / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.1545, allocations: 23.92 kB / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1547, allocations: 37.12 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.1553, allocations: 262.7 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.1557, allocations: 0.7119 MB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.877e-05/0.1558, allocations: 16.8 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1558, allocations: 15.42 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1558, allocations: 0 / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of Templates: time 0.004488/0.1603, allocations: 1.511 MB / 451 MB, free: 12.81 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches