Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000976/0.0009762, allocations: 170.5 kB / 16.07 MB, free: 5.73 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.307/1.307, allocations: 205.6 MB / 222.4 MB, free: 8.941 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.0007202/0.0007204, allocations: 91.5 kB / 270.8 MB, free: 8.125 MB / 218.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.3734/0.3734, allocations: 43.66 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003512, allocations: 20 kB / 432.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 58.84 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002137/0.1273, allocations: 1.402 MB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1286, allocations: 0.8292 MB / 493.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.1287, allocations: 3.938 kB / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.129, allocations: 39.88 kB / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1291, allocations: 43.84 kB / 493.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1294, allocations: 75.84 kB / 493.6 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1295, allocations: 91.7 kB / 493.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1296, allocations: 20.19 kB / 493.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.1297, allocations: 39.8 kB / 493.7 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.1298, allocations: 27.8 kB / 493.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1298, allocations: 4 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.1299, allocations: 35.97 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.13, allocations: 19.92 kB / 493.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.13, allocations: 61.44 kB / 493.9 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1302, allocations: 111.9 kB / 494 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1302, allocations: 0 / 494 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1302, allocations: 0 / 494 MB, free: 7.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1303, allocations: 4 kB / 494 MB, free: 7.199 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004892/0.1307, allocations: 406.9 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1308, allocations: 8.031 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1308, allocations: 16.84 kB / 494.4 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.1311, allocations: 210.1 kB / 494.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1311, allocations: 4.375 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1311, allocations: 8.125 kB / 494.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1313, allocations: 53.67 kB / 494.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1313, allocations: 0 / 494.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1313, allocations: 8 kB / 494.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1313, allocations: 0 / 494.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.1314, allocations: 19.92 kB / 494.7 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1317, allocations: 284.9 kB / 495 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1319, allocations: 62.67 kB / 495 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.132, allocations: 16.86 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.132, allocations: 0 / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1322, allocations: 67.33 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1322, allocations: 4 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004969/0.1327, allocations: 169.1 kB / 495.3 MB, free: 5.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1328, allocations: 59.41 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.133, allocations: 194.6 kB / 495.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.133, allocations: 29.7 kB / 495.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.133, allocations: 104.1 kB / 495.7 MB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1331, allocations: 27.69 kB / 495.7 MB, free: 5.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.1331, allocations: 8 kB / 495.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1332, allocations: 322.8 kB / 496 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.1333, allocations: 20 kB / 496 MB, free: 4.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.1333, allocations: 41.7 kB / 496.1 MB, free: 4.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1335, allocations: 57.64 kB / 496.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1335, allocations: 0 / 496.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001661/0.1336, allocations: 101.4 kB / 496.2 MB, free: 4.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1337, allocations: 7.984 kB / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1337, allocations: 7.938 kB / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1337, allocations: 0 / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.1338, allocations: 16.03 kB / 496.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1338, allocations: 0 / 496.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.1339, allocations: 7.938 kB / 496.3 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1339, allocations: 11.97 kB / 496.3 MB, free: 4.668 MB / 378.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.000106/0.134, allocations: 125.8 kB / 496.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.134, allocations: 11.91 kB / 496.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1341, allocations: 17.39 kB / 496.4 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1341, allocations: 0 / 496.4 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1341, allocations: 4 kB / 496.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1341, allocations: 4.312 kB / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.1345, allocations: 395.2 kB / 496.8 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1345, allocations: 4 kB / 496.8 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.1346, allocations: 15.92 kB / 496.8 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1346, allocations: 0 / 496.8 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1346, allocations: 7.938 kB / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1346, allocations: 0 / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1346, allocations: 4.031 kB / 496.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1348, allocations: 200.3 kB / 497 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1349, allocations: 92.91 kB / 497.1 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1349, allocations: 11.94 kB / 497.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.135, allocations: 0 / 497.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.1351, allocations: 7.984 kB / 497.2 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1351, allocations: 8 kB / 497.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1352, allocations: 147.9 kB / 497.3 MB, free: 3.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1353, allocations: 8.125 kB / 497.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.1355, allocations: 24 kB / 497.3 MB, free: 3.492 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: 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.001099/0.1366, allocations: 0.5281 MB / 497.9 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1368, allocations: 55.95 kB / 497.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1368, allocations: 3.938 kB / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.1369, allocations: 31.98 kB / 498 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1372, allocations: 19.98 kB / 498 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.1377, allocations: 254.5 kB / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.138, allocations: 0.7082 MB / 498.9 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.1381, allocations: 21.19 kB / 499 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.1381, allocations: 15.42 kB / 499 MB, free: 1.938 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1381, allocations: 4 kB / 499 MB, free: 1.934 MB / 378.7 MB Notification: Performance of Templates: time 0.004199/0.1423, allocations: 1.624 MB / 0.4889 GB, free: 320 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches