Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008955/0.0008954, allocations: 170.4 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.356/1.356, 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.0007441/0.0007441, allocations: 90.19 kB / 270.8 MB, free: 8.121 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.3583/0.3583, allocations: 43.68 MB / 362.7 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 12 kB / 432.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 58.85 MB / 491.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001977/0.1274, allocations: 1.402 MB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1287, allocations: 0.8253 MB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.1287, allocations: 3.938 kB / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.129, allocations: 35.89 kB / 493.4 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.1292, allocations: 47.83 kB / 493.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1295, allocations: 75.84 kB / 493.6 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1296, allocations: 91.69 kB / 493.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.1298, allocations: 16.22 kB / 493.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.1298, allocations: 47.7 kB / 493.7 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.1299, allocations: 27.86 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1299, allocations: 0 / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.13, allocations: 28 kB / 493.8 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.1301, allocations: 27.89 kB / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.1302, allocations: 53.45 kB / 493.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1304, allocations: 115.9 kB / 494 MB, free: 7.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1304, allocations: 4 kB / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.1304, allocations: 0 / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1304, allocations: 7.938 kB / 494 MB, free: 7.176 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.0005055/0.1309, allocations: 395 kB / 494.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1309, allocations: 12.03 kB / 494.4 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.131, allocations: 8.844 kB / 494.4 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1312, allocations: 218.3 kB / 494.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1312, allocations: 384 / 494.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1313, allocations: 8.125 kB / 494.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1314, allocations: 57.67 kB / 494.7 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1315, allocations: 0 / 494.7 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1315, allocations: 0 / 494.7 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1315, allocations: 3.938 kB / 494.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.1316, allocations: 23.98 kB / 494.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.1319, allocations: 280.9 kB / 495 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1321, allocations: 58.67 kB / 495 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.1321, allocations: 24.78 kB / 495 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1321, allocations: 0 / 495 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1323, allocations: 67.39 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1323, allocations: 0 / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004776/0.1328, allocations: 177.1 kB / 495.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1329, allocations: 55.41 kB / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.133, allocations: 194.4 kB / 495.5 MB, free: 5.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1331, allocations: 33.7 kB / 495.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1331, allocations: 96.14 kB / 495.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1332, allocations: 27.64 kB / 495.7 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.1332, allocations: 4 kB / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1333, allocations: 326.8 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.1334, allocations: 15.98 kB / 496 MB, free: 4.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.455e-05/0.1334, allocations: 41.7 kB / 496.1 MB, free: 4.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1336, allocations: 61.64 kB / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1336, allocations: 0 / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.1337, allocations: 105.4 kB / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1338, allocations: 11.94 kB / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1338, allocations: 0 / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.1338, allocations: 0 / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.1339, allocations: 20.39 kB / 496.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1339, allocations: 4 kB / 496.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.1339, allocations: 3.938 kB / 496.3 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.134, allocations: 8 kB / 496.3 MB, free: 4.656 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.0001034/0.1341, allocations: 133.8 kB / 496.4 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.1341, allocations: 11.89 kB / 496.4 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.1341, allocations: 13.41 kB / 496.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1341, allocations: 4 kB / 496.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1342, allocations: 4 kB / 496.4 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-06/0.1342, allocations: 11.86 kB / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.1346, allocations: 387.3 kB / 496.8 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1346, allocations: 4 kB / 496.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.1346, allocations: 11.94 kB / 496.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1346, allocations: 0 / 496.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1347, allocations: 3.938 kB / 496.8 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1347, allocations: 0 / 496.8 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1347, allocations: 4.031 kB / 496.8 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.1349, allocations: 208.5 kB / 497 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1349, allocations: 84.92 kB / 497.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.135, allocations: 11.94 kB / 497.1 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.1351, allocations: 4 kB / 497.1 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1351, allocations: 7.922 kB / 497.1 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1351, allocations: 8 kB / 497.2 MB, free: 3.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.1353, allocations: 155.7 kB / 497.3 MB, free: 3.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1353, allocations: 0 / 497.3 MB, free: 3.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.1355, allocations: 24.19 kB / 497.3 MB, free: 3.48 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.00106/0.1366, allocations: 0.5264 MB / 497.9 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1368, allocations: 63.91 kB / 497.9 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1368, allocations: 0 / 497.9 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/0.1368, allocations: 27.98 kB / 497.9 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1372, allocations: 20.38 kB / 498 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.1377, allocations: 262.5 kB / 498.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.138, allocations: 0.7083 MB / 498.9 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.93e-05/0.138, allocations: 16.88 kB / 499 MB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.1381, allocations: 15.44 kB / 499 MB, free: 1.922 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1381, allocations: 0 / 499 MB, free: 1.922 MB / 378.7 MB Notification: Performance of Templates: time 0.004058/0.1421, allocations: 1.633 MB / 0.4889 GB, free: 296 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches