Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009657/0.0009662, allocations: 170.2 kB / 16.08 MB, free: 5.598 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.416/1.416, allocations: 205.6 MB / 222.4 MB, free: 8.926 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.0007488/0.0007487, allocations: 90.73 kB / 270.8 MB, free: 8.113 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.3318/0.3318, allocations: 43.66 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003244, allocations: 12 kB / 432.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 58.85 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002073/0.1155, allocations: 1.361 MB / 492.5 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1166, allocations: 0.8108 MB / 493.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.1167, allocations: 0 / 493.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.117, allocations: 63.84 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1172, allocations: 51.81 kB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1175, allocations: 71.86 kB / 493.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1176, allocations: 99.67 kB / 493.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.1177, allocations: 7.984 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.1178, allocations: 39.78 kB / 493.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.301e-05/0.1179, allocations: 47.77 kB / 493.7 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1179, allocations: 8 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/0.118, allocations: 20 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.1181, allocations: 15.92 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.1181, allocations: 57.48 kB / 493.8 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1183, allocations: 95.92 kB / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1184, allocations: 0 / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1184, allocations: 0 / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1184, allocations: 0 / 493.9 MB, free: 7.242 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.0005308/0.1189, allocations: 399 kB / 494.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.119, allocations: 12.03 kB / 494.3 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.119, allocations: 12.84 kB / 494.3 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1192, allocations: 208 kB / 494.5 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1193, allocations: 8.359 kB / 494.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1193, allocations: 4.125 kB / 494.5 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1194, allocations: 49.67 kB / 494.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1195, allocations: 0 / 494.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1195, allocations: 3.984 kB / 494.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1195, allocations: 0 / 494.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.1196, allocations: 23.88 kB / 494.6 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.1198, allocations: 177.7 kB / 494.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1199, allocations: 50.61 kB / 494.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.12, allocations: 20.8 kB / 494.9 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.12, allocations: 7.984 kB / 494.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1202, allocations: 71.33 kB / 494.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1202, allocations: 0 / 494.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002629/0.1205, allocations: 89.58 kB / 495 MB, free: 5.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1205, allocations: 51.41 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1207, allocations: 190 kB / 495.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1207, allocations: 25.7 kB / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.1208, allocations: 96.14 kB / 495.4 MB, free: 5.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1208, allocations: 23.8 kB / 495.4 MB, free: 5.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.1208, allocations: 3.938 kB / 495.4 MB, free: 5.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.121, allocations: 318.8 kB / 495.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.121, allocations: 12 kB / 495.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.1211, allocations: 33.64 kB / 495.8 MB, free: 5.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.1212, allocations: 41.7 kB / 495.8 MB, free: 5.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1212, allocations: 4 kB / 495.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.1213, allocations: 81.47 kB / 495.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1214, allocations: 8 kB / 495.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.1214, allocations: 0 / 495.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.1214, allocations: 0 / 495.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.1215, allocations: 12 kB / 495.9 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1215, allocations: 4.156 kB / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.1215, allocations: 7.891 kB / 495.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1215, allocations: 7.984 kB / 495.9 MB, free: 4.996 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.0001005/0.1217, allocations: 125.8 kB / 496 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.1217, allocations: 7.906 kB / 496.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.1217, allocations: 16.3 kB / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1217, allocations: 320 / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1217, allocations: 4 kB / 496.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1217, allocations: 0 / 496.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1219, allocations: 193.5 kB / 496.3 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1219, allocations: 3.938 kB / 496.3 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.1219, allocations: 7.984 kB / 496.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1219, allocations: 3.938 kB / 496.3 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.122, allocations: 8 kB / 496.3 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.122, allocations: 0 / 496.3 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.122, allocations: 0 / 496.3 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.1222, allocations: 109 kB / 496.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.1222, allocations: 88.92 kB / 496.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1222, allocations: 0 / 496.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.1223, allocations: 7.984 kB / 496.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1223, allocations: 4 kB / 496.5 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1223, allocations: 8 kB / 496.5 MB, free: 4.328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.1225, allocations: 139.2 kB / 496.6 MB, free: 4.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1225, allocations: 0 / 496.6 MB, free: 4.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.1227, allocations: 12 kB / 496.6 MB, free: 4.18 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.0009058/0.1236, allocations: 479.4 kB / 497.1 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.1237, allocations: 31.98 kB / 497.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1237, allocations: 4.062 kB / 497.1 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.715e-05/0.1238, allocations: 23.92 kB / 497.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.1241, allocations: 35.52 kB / 497.2 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.1245, allocations: 221.2 kB / 497.4 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1248, allocations: 0.6965 MB / 498.1 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.1248, allocations: 20.39 kB / 498.1 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.1249, allocations: 15.44 kB / 498.2 MB, free: 2.738 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1249, allocations: 0 / 498.2 MB, free: 2.738 MB / 378.7 MB Notification: Performance of Templates: time 0.003748/0.1286, allocations: 1.409 MB / 499.6 MB, free: 1.332 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches