Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 181 kB / 16.08 MB, free: 5.523 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.355/1.355, allocations: 205.6 MB / 222.4 MB, free: 13.68 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.000768/0.0007679, allocations: 82.31 kB / 270.8 MB, free: 13.21 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.2248/0.2248, allocations: 43.68 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 12 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 58.86 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002277/0.1271, allocations: 1.523 MB / 492.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1286, allocations: 0.9188 MB / 493.6 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.612e-05/0.1287, allocations: 7.938 kB / 493.6 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.1292, allocations: 215.5 kB / 493.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1295, allocations: 155.5 kB / 494 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1299, allocations: 131.8 kB / 494.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1302, allocations: 219.3 kB / 494.3 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1304, allocations: 25.55 kB / 494.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1305, allocations: 99.59 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1307, allocations: 139.5 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1307, allocations: 4 kB / 494.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1309, allocations: 39.98 kB / 494.6 MB, free: 4.637 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.1309, allocations: 51.77 kB / 494.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1311, allocations: 105.1 kB / 494.8 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1313, allocations: 203.5 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1313, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1314, allocations: 4 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1314, allocations: 0 / 495 MB, free: 4.273 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007255/0.1321, allocations: 0.5022 MB / 495.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1321, allocations: 15.91 kB / 495.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.1322, allocations: 28.56 kB / 495.5 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1325, allocations: 276.1 kB / 495.8 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1326, allocations: 384 / 495.8 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.1326, allocations: 16.11 kB / 495.8 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.1328, allocations: 95.36 kB / 495.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1329, allocations: 0 / 495.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1329, allocations: 7.938 kB / 495.9 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1329, allocations: 4 kB / 495.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.133, allocations: 35.97 kB / 496 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.1336, allocations: 452.9 kB / 496.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.1339, allocations: 113.3 kB / 496.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.134, allocations: 41.7 kB / 496.6 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.134, allocations: 11.92 kB / 496.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.1343, allocations: 105.1 kB / 496.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.736e-06/0.1343, allocations: 0 / 496.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008619/0.1352, allocations: 371.8 kB / 497 MB, free: 2.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.1352, allocations: 89.02 kB / 497.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.1357, allocations: 424.5 kB / 497.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1357, allocations: 25.7 kB / 497.6 MB, free: 1.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1358, allocations: 152.4 kB / 497.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.1359, allocations: 47.3 kB / 497.8 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.1359, allocations: 11.94 kB / 497.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.136, allocations: 342.8 kB / 498.1 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.1361, allocations: 39.98 kB / 498.1 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1363, allocations: 78.28 kB / 498.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.1365, allocations: 115.5 kB / 498.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1365, allocations: 0 / 498.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003073/0.1368, allocations: 189.1 kB / 498.5 MB, free: 480 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1368, allocations: 4 kB / 498.5 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1369, allocations: 4 kB / 498.5 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1369, allocations: 0 / 498.5 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.137, allocations: 39.97 kB / 498.6 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.137, allocations: 4.688 kB / 498.6 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.1371, allocations: 4 kB / 498.6 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1371, allocations: 15.94 kB / 498.6 MB, free: 408 kB / 330.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001874/0.1373, allocations: 157.9 kB / 498.7 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.1374, allocations: 27.72 kB / 498.8 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.1375, allocations: 34.62 kB / 498.8 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1375, allocations: 4 kB / 498.8 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1375, allocations: 7.938 kB / 498.8 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1375, allocations: 3.984 kB / 498.8 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.1382, allocations: 0.6241 MB / 499.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1383, allocations: 0 / 499.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.1383, allocations: 19.98 kB / 499.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1383, allocations: 3.938 kB / 499.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1383, allocations: 4 kB / 499.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1384, allocations: 4 kB / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1384, allocations: 0 / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.1387, allocations: 368.1 kB / 499.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.1388, allocations: 108.8 kB / 499.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.1389, allocations: 8 kB / 499.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1391, allocations: 11.92 kB / 500 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.1391, allocations: 23.92 kB / 500 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1392, allocations: 4 kB / 500 MB, free: 14.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003031/0.1395, allocations: 319 kB / 0.4886 GB, free: 14.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1395, allocations: 0 / 0.4886 GB, free: 14.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.1398, allocations: 39.91 kB / 0.4886 GB, free: 14.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001065/0.1409, allocations: 0.5344 MB / 0.4891 GB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1412, allocations: 115.8 kB / 0.4892 GB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.1412, allocations: 0 / 0.4892 GB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1413, allocations: 55.91 kB / 0.4893 GB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.1418, allocations: 72.83 kB / 0.4894 GB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.1426, allocations: 0.5368 MB / 0.4899 GB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.143, allocations: 0.7635 MB / 0.4906 GB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.216e-05/0.1431, allocations: 30.55 kB / 0.4907 GB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.1432, allocations: 27.44 kB / 0.4907 GB, free: 12.48 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.1432, allocations: 4 kB / 0.4907 GB, free: 12.48 MB / 346.7 MB Notification: Performance of Templates: time 0.005575/0.1488, allocations: 2.568 MB / 0.4932 GB, free: 9.918 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches