Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008387/0.0008386, allocations: 180.9 kB / 16.08 MB, free: 5.203 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.296/1.296, allocations: 205.6 MB / 222.4 MB, free: 8.953 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.0007767/0.0007766, allocations: 92.27 kB / 270.8 MB, free: 8.133 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.3768/0.3768, allocations: 43.66 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 12 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 58.84 MB / 491.2 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002072/0.134, allocations: 1.405 MB / 492.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.136, allocations: 1.479 MB / 494 MB, free: 6.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.1361, allocations: 4 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.1364, allocations: 39.83 kB / 494.1 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1366, allocations: 47.83 kB / 494.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1369, allocations: 71.84 kB / 494.2 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.137, allocations: 91.7 kB / 494.3 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.1371, allocations: 12.2 kB / 494.3 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.1372, allocations: 39.78 kB / 494.3 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1374, allocations: 31.84 kB / 494.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1374, allocations: 8 kB / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1375, allocations: 55.91 kB / 494.4 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.1376, allocations: 15.92 kB / 494.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.1376, allocations: 53.52 kB / 494.5 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1379, allocations: 119.9 kB / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1379, allocations: 0 / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1379, allocations: 0 / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.1379, allocations: 0 / 494.6 MB, free: 6.277 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.0005694/0.1385, allocations: 394.5 kB / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1385, allocations: 16.03 kB / 495 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.1386, allocations: 8.844 kB / 495 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1388, allocations: 208 kB / 495.2 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1389, allocations: 4.359 kB / 495.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1389, allocations: 8.125 kB / 495.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.139, allocations: 71.39 kB / 495.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1391, allocations: 0 / 495.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1391, allocations: 0 / 495.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1391, allocations: 11.94 kB / 495.3 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.1392, allocations: 23.92 kB / 495.4 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1395, allocations: 276.9 kB / 495.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1397, allocations: 54.67 kB / 495.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.1398, allocations: 24.84 kB / 495.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1398, allocations: 4 kB / 495.7 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.14, allocations: 67.33 kB / 495.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.14, allocations: 0 / 495.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005268/0.1405, allocations: 177.2 kB / 495.9 MB, free: 4.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.1406, allocations: 77.11 kB / 496 MB, free: 4.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1408, allocations: 149.8 kB / 496.2 MB, free: 4.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1408, allocations: 33.7 kB / 496.2 MB, free: 4.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.1408, allocations: 96.05 kB / 496.3 MB, free: 4.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1409, allocations: 23.73 kB / 496.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1409, allocations: 0 / 496.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.141, allocations: 330.7 kB / 496.6 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.1411, allocations: 16 kB / 496.7 MB, free: 4.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.1411, allocations: 46.56 kB / 496.7 MB, free: 3.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1413, allocations: 61.67 kB / 496.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1413, allocations: 0 / 496.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.1414, allocations: 101.5 kB / 496.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1415, allocations: 8 kB / 496.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1415, allocations: 0 / 496.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1415, allocations: 0 / 496.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.1416, allocations: 15.94 kB / 496.9 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1416, allocations: 4 kB / 496.9 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.1417, allocations: 11.95 kB / 496.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1417, allocations: 8 kB / 496.9 MB, free: 3.75 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.0001314/0.1418, allocations: 117.8 kB / 497 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.1418, allocations: 7.906 kB / 497 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.1419, allocations: 16.7 kB / 497 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1419, allocations: 0 / 497 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1419, allocations: 0 / 497 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1419, allocations: 3.938 kB / 497.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1423, allocations: 391.3 kB / 497.4 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1424, allocations: 0 / 497.4 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.1424, allocations: 15.92 kB / 497.4 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1424, allocations: 3.938 kB / 497.5 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1424, allocations: 8.312 kB / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1424, allocations: 0 / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1424, allocations: 0 / 497.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1427, allocations: 208.3 kB / 497.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1427, allocations: 89 kB / 497.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1427, allocations: 7.938 kB / 497.8 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.1428, allocations: 4 kB / 497.8 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1429, allocations: 7.984 kB / 497.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1429, allocations: 0 / 497.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.143, allocations: 122.9 kB / 497.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.143, allocations: 4 kB / 497.9 MB, free: 2.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.1432, allocations: 28 kB / 497.9 MB, free: 2.637 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.001106/0.1444, allocations: 0.5928 MB / 498.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1445, allocations: 51.92 kB / 498.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1445, allocations: 0 / 498.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.1446, allocations: 35.91 kB / 498.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1449, allocations: 27.98 kB / 498.6 MB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.1453, allocations: 214.1 kB / 498.8 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1456, allocations: 0.6926 MB / 499.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.995e-05/0.1457, allocations: 29.11 kB / 499.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.1457, allocations: 23.42 kB / 499.6 MB, free: 1.047 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1457, allocations: 0 / 499.6 MB, free: 1.047 MB / 378.7 MB Notification: Performance of Templates: time 0.2137/0.3595, allocations: 1.85 MB / 0.4897 GB, free: 42.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches