Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008399/0.0008403, allocations: 174 kB / 16.08 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.299/1.299, allocations: 205.6 MB / 222.4 MB, free: 8.934 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.0008132/0.0008134, allocations: 102.7 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.3772/0.3772, allocations: 43.67 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003447, allocations: 12 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 58.84 MB / 491.2 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002018/0.1372, allocations: 1.365 MB / 492.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1387, allocations: 0.8148 MB / 493.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.1388, allocations: 4 kB / 493.3 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1391, allocations: 43.81 kB / 493.4 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1394, allocations: 55.81 kB / 493.4 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1396, allocations: 75.84 kB / 493.5 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1398, allocations: 83.7 kB / 493.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.1399, allocations: 15.97 kB / 493.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.1399, allocations: 43.78 kB / 493.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.14, allocations: 35.83 kB / 493.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1401, allocations: 4 kB / 493.7 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.707e-05/0.1402, allocations: 20 kB / 493.7 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.1402, allocations: 23.86 kB / 493.7 MB, free: 7.191 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.1403, allocations: 53.5 kB / 493.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1405, allocations: 91.98 kB / 493.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1405, allocations: 0 / 493.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1405, allocations: 0 / 493.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1405, allocations: 0 / 493.9 MB, free: 7.043 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005423/0.1411, allocations: 387.1 kB / 494.3 MB, free: 6.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1411, allocations: 12.03 kB / 494.3 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.1412, allocations: 8.844 kB / 494.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1414, allocations: 210.1 kB / 494.5 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.1415, allocations: 4.375 kB / 494.5 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1415, allocations: 4.125 kB / 494.5 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1416, allocations: 45.67 kB / 494.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1417, allocations: 4 kB / 494.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.1417, allocations: 0 / 494.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1417, allocations: 0 / 494.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.1418, allocations: 15.98 kB / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.142, allocations: 185.6 kB / 494.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1421, allocations: 50.56 kB / 494.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.1422, allocations: 24.78 kB / 494.8 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1422, allocations: 0 / 494.8 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1424, allocations: 67.39 kB / 494.9 MB, free: 5.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1424, allocations: 0 / 494.9 MB, free: 5.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002963/0.1427, allocations: 97.52 kB / 495 MB, free: 5.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1428, allocations: 55.34 kB / 495 MB, free: 5.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.143, allocations: 171.8 kB / 495.2 MB, free: 5.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.143, allocations: 25.7 kB / 495.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.1431, allocations: 100.1 kB / 495.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1431, allocations: 11.91 kB / 495.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1431, allocations: 4 kB / 495.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1433, allocations: 322.8 kB / 495.7 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.1434, allocations: 15.98 kB / 495.7 MB, free: 5.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.362e-05/0.1434, allocations: 29.64 kB / 495.7 MB, free: 5.016 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1435, allocations: 37.72 kB / 495.7 MB, free: 4.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1435, allocations: 3.938 kB / 495.7 MB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.1437, allocations: 97.42 kB / 495.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1437, allocations: 4 kB / 495.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1438, allocations: 0 / 495.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1438, allocations: 0 / 495.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.1439, allocations: 15.94 kB / 495.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.1439, allocations: 0 / 495.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1439, allocations: 4 kB / 495.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.144, allocations: 4.297 kB / 495.9 MB, free: 4.84 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 (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.0001095/0.1441, allocations: 125.8 kB / 496 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.1441, allocations: 7.906 kB / 496 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.1441, allocations: 16.3 kB / 496 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1442, allocations: 0 / 496 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1442, allocations: 4 kB / 496 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1442, allocations: 4 kB / 496 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.1443, allocations: 185.6 kB / 496.2 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1443, allocations: 3.984 kB / 496.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.1444, allocations: 4 kB / 496.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1444, allocations: 0 / 496.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1444, allocations: 0 / 496.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1444, allocations: 4 kB / 496.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1444, allocations: 4 kB / 496.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1446, allocations: 112.8 kB / 496.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.1446, allocations: 92.94 kB / 496.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1447, allocations: 4 kB / 496.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.1447, allocations: 0 / 496.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1447, allocations: 7.984 kB / 496.4 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1448, allocations: 4 kB / 496.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1449, allocations: 133.7 kB / 496.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1449, allocations: 0 / 496.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.1451, allocations: 20 kB / 496.6 MB, free: 4.031 MB / 378.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.001037/0.1461, allocations: 477.4 kB / 497 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1463, allocations: 39.91 kB / 497.1 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1463, allocations: 0 / 497.1 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.842e-05/0.1464, allocations: 24.06 kB / 497.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1466, allocations: 32.05 kB / 497.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.1471, allocations: 197.1 kB / 497.3 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1474, allocations: 0.7004 MB / 498 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.1474, allocations: 12.55 kB / 498 MB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.1475, allocations: 15.44 kB / 498.1 MB, free: 2.617 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1475, allocations: 0 / 498.1 MB, free: 2.617 MB / 378.7 MB Notification: Performance of Templates: time 0.003946/0.1514, allocations: 1.409 MB / 499.5 MB, free: 1.211 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches