Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00174/0.00174, allocations: 183.4 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.603/1.603, allocations: 205.6 MB / 222.4 MB, free: 13.67 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.0008473/0.0008473, allocations: 90.23 kB / 270.8 MB, free: 13.2 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.1932/0.1932, allocations: 43.68 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 12 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 58.86 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002886/0.1226, allocations: 1.354 MB / 492.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1246, allocations: 0.8185 MB / 493.4 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.1247, allocations: 4 kB / 493.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.1251, allocations: 47.86 kB / 493.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.1254, allocations: 59.81 kB / 493.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.1258, allocations: 67.86 kB / 493.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1261, allocations: 91.69 kB / 493.6 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.1261, allocations: 7.984 kB / 493.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1263, allocations: 39.73 kB / 493.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1264, allocations: 31.84 kB / 493.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1264, allocations: 8 kB / 493.7 MB, free: 5.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1266, allocations: 20 kB / 493.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.1267, allocations: 31.89 kB / 493.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.1268, allocations: 61.33 kB / 493.8 MB, free: 5.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1271, allocations: 111.9 kB / 493.9 MB, free: 5.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1271, allocations: 3.938 kB / 493.9 MB, free: 5.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1271, allocations: 0 / 493.9 MB, free: 5.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1271, allocations: 0 / 493.9 MB, free: 5.34 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007021/0.1278, allocations: 407 kB / 494.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1279, allocations: 16.03 kB / 494.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.128, allocations: 12.75 kB / 494.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1283, allocations: 223.5 kB / 494.6 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1283, allocations: 4.375 kB / 494.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1284, allocations: 4.125 kB / 494.6 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1286, allocations: 53.61 kB / 494.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1286, allocations: 0 / 494.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1286, allocations: 0 / 494.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1287, allocations: 0 / 494.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1288, allocations: 19.98 kB / 494.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.1291, allocations: 189.7 kB / 494.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.1294, allocations: 50.61 kB / 494.9 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.1295, allocations: 24.78 kB / 494.9 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.1295, allocations: 7.938 kB / 494.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.1298, allocations: 67.39 kB / 495 MB, free: 4.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.465e-06/0.1298, allocations: 0 / 495 MB, free: 4.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004437/0.1303, allocations: 97.48 kB / 495.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.1303, allocations: 51.41 kB / 495.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.1307, allocations: 255.7 kB / 495.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1308, allocations: 29.7 kB / 495.4 MB, free: 3.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.1309, allocations: 112.1 kB / 495.5 MB, free: 3.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.131, allocations: 19.81 kB / 495.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.131, allocations: 3.938 kB / 495.5 MB, free: 3.516 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1311, allocations: 330.8 kB / 495.9 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.1312, allocations: 12 kB / 495.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1314, allocations: 29.7 kB / 495.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1316, allocations: 41.95 kB / 495.9 MB, free: 3.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1316, allocations: 4 kB / 495.9 MB, free: 3.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003075/0.1319, allocations: 89.47 kB / 496 MB, free: 2.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1319, allocations: 4 kB / 496 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.132, allocations: 0 / 496 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.132, allocations: 0 / 496 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1321, allocations: 15.98 kB / 496.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1322, allocations: 0 / 496.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.088e-05/0.1323, allocations: 15.84 kB / 496.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1323, allocations: 0 / 496.1 MB, free: 2.957 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 (7): * Single equations (assignments): 7 * 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.0001569/0.1325, allocations: 141.7 kB / 496.2 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1325, allocations: 7.906 kB / 496.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.657e-05/0.1326, allocations: 20.98 kB / 496.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1326, allocations: 0 / 496.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1326, allocations: 0 / 496.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1326, allocations: 4 kB / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.1328, allocations: 201.5 kB / 496.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1329, allocations: 0 / 496.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.1329, allocations: 4 kB / 496.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1329, allocations: 0 / 496.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.133, allocations: 4 kB / 496.4 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.133, allocations: 0 / 496.4 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.133, allocations: 0 / 496.4 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.1333, allocations: 116.9 kB / 496.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.1334, allocations: 88.92 kB / 496.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.1334, allocations: 3.984 kB / 496.6 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.1335, allocations: 0 / 496.6 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1336, allocations: 8 kB / 496.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1336, allocations: 11.94 kB / 496.7 MB, free: 2.262 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002797/0.1339, allocations: 195.3 kB / 496.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1339, allocations: 0 / 496.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.1343, allocations: 16 kB / 496.9 MB, free: 2.055 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001444/0.1358, allocations: 476.2 kB / 497.3 MB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.136, allocations: 39.98 kB / 497.4 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.136, allocations: 4 kB / 497.4 MB, free: 1.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.274e-05/0.1361, allocations: 23.98 kB / 497.4 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1365, allocations: 31.84 kB / 497.4 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.1371, allocations: 286 kB / 497.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1375, allocations: 0.7082 MB / 498.4 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.1375, allocations: 12.55 kB / 498.4 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.1376, allocations: 19.44 kB / 498.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1376, allocations: 0 / 498.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of Templates: time 0.006076/0.1437, allocations: 1.436 MB / 499.9 MB, free: 15.12 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches