Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 181.1 kB / 16.08 MB, free: 5.535 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.6 MB / 222.4 MB, free: 13.66 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008612/0.0008614, allocations: 94.23 kB / 270.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2032/0.2032, allocations: 43.69 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003101, allocations: 12 kB / 432.3 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 58.85 MB / 491.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00194/0.1111, allocations: 1.394 MB / 492.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1124, allocations: 0.8292 MB / 493.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.1125, allocations: 3.938 kB / 493.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1128, allocations: 31.91 kB / 493.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.113, allocations: 47.83 kB / 493.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1133, allocations: 83.83 kB / 493.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1135, allocations: 87.7 kB / 493.7 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.1136, allocations: 16.2 kB / 493.7 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1137, allocations: 43.78 kB / 493.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1138, allocations: 27.8 kB / 493.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1138, allocations: 4 kB / 493.7 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1139, allocations: 39.97 kB / 493.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.114, allocations: 15.92 kB / 493.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.1141, allocations: 61.45 kB / 493.9 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1143, allocations: 111.9 kB / 494 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1143, allocations: 0 / 494 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1143, allocations: 0 / 494 MB, free: 5.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1143, allocations: 0 / 494 MB, free: 5.27 MB / 330.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.0005287/0.1148, allocations: 399 kB / 494.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1149, allocations: 8.031 kB / 494.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.115, allocations: 16.75 kB / 494.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1152, allocations: 210.2 kB / 494.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1152, allocations: 8.375 kB / 494.6 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1152, allocations: 4.125 kB / 494.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1154, allocations: 53.67 kB / 494.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1154, allocations: 0 / 494.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1154, allocations: 4 kB / 494.7 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1155, allocations: 0 / 494.7 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.491e-05/0.1155, allocations: 19.92 kB / 494.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.1159, allocations: 284.9 kB / 494.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1161, allocations: 62.67 kB / 495 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.1161, allocations: 20.84 kB / 495 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1162, allocations: 3.938 kB / 495 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.1164, allocations: 63.39 kB / 495.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1164, allocations: 4 kB / 495.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005602/0.117, allocations: 177.3 kB / 495.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.117, allocations: 59.41 kB / 495.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1172, allocations: 193.5 kB / 495.5 MB, free: 3.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1172, allocations: 25.7 kB / 495.5 MB, free: 3.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1173, allocations: 108 kB / 495.7 MB, free: 3.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1173, allocations: 23.7 kB / 495.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1173, allocations: 4 kB / 495.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1175, allocations: 334.7 kB / 496 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.1175, allocations: 23.92 kB / 496 MB, free: 2.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.1176, allocations: 33.7 kB / 496.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1177, allocations: 61.66 kB / 496.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1177, allocations: 0 / 496.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1179, allocations: 101.5 kB / 496.2 MB, free: 2.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.118, allocations: 4 kB / 496.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.118, allocations: 4 kB / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.118, allocations: 0 / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1181, allocations: 15.98 kB / 496.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1181, allocations: 0 / 496.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.1182, allocations: 11.94 kB / 496.3 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1182, allocations: 4 kB / 496.3 MB, free: 2.746 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.1183, allocations: 125.8 kB / 496.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1184, allocations: 23.81 kB / 496.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.1184, allocations: 13.41 kB / 496.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1184, allocations: 0 / 496.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1184, allocations: 0 / 496.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1185, allocations: 7.922 kB / 496.4 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.1189, allocations: 391.3 kB / 496.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1189, allocations: 0 / 496.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.119, allocations: 11.94 kB / 496.8 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.119, allocations: 4.031 kB / 496.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.119, allocations: 7.938 kB / 496.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.119, allocations: 0 / 496.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.119, allocations: 0 / 496.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1193, allocations: 204.5 kB / 497 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1193, allocations: 92.91 kB / 497.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1194, allocations: 7.938 kB / 497.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.1194, allocations: 11.98 kB / 497.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1195, allocations: 4 kB / 497.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1195, allocations: 7.938 kB / 497.2 MB, free: 1.742 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.1196, allocations: 151.7 kB / 497.3 MB, free: 1.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1196, allocations: 0 / 497.3 MB, free: 1.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.1199, allocations: 31.98 kB / 497.3 MB, free: 1.566 MB / 330.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 (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.001101/0.121, allocations: 0.5205 MB / 497.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1212, allocations: 63.84 kB / 497.9 MB, free: 1.117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1212, allocations: 0 / 497.9 MB, free: 1.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.853e-05/0.1213, allocations: 27.98 kB / 497.9 MB, free: 1.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1216, allocations: 35.75 kB / 498 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.1221, allocations: 250.4 kB / 498.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1223, allocations: 0.7085 MB / 498.9 MB, free: 52 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.1224, allocations: 24.86 kB / 499 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1224, allocations: 15.44 kB / 499 MB, free: 12 kB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1224, allocations: 0 / 499 MB, free: 12 kB / 330.7 MB Notification: Performance of Templates: time 0.004278/0.1267, allocations: 1.618 MB / 0.4889 GB, free: 14.4 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches