Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 173.9 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.452/1.452, 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.0007827/0.0007828, allocations: 90.8 kB / 270.8 MB, free: 8.125 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.3544/0.3544, allocations: 43.67 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003334, allocations: 12 kB / 432.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 58.84 MB / 491.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001973/0.118, allocations: 1.398 MB / 492.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1192, allocations: 0.8292 MB / 493.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/0.1193, allocations: 4 kB / 493.4 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1196, allocations: 51.8 kB / 493.5 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.1199, allocations: 55.83 kB / 493.5 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1202, allocations: 75.83 kB / 493.6 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1204, allocations: 95.7 kB / 493.7 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.1205, allocations: 16.19 kB / 493.7 MB, free: 7.242 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.1206, allocations: 39.8 kB / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.1207, allocations: 39.77 kB / 493.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1207, allocations: 0 / 493.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.1208, allocations: 32 kB / 493.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.1209, allocations: 31.84 kB / 493.8 MB, free: 7.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1209, allocations: 61.44 kB / 493.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1211, allocations: 127.8 kB / 494 MB, free: 6.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1211, allocations: 0 / 494 MB, free: 6.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1211, allocations: 0 / 494 MB, free: 6.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1212, allocations: 0 / 494 MB, free: 6.91 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.0004798/0.1216, allocations: 426.8 kB / 494.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1217, allocations: 12.03 kB / 494.4 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.1217, allocations: 16.75 kB / 494.5 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1219, allocations: 219.7 kB / 494.7 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.122, allocations: 384 / 494.7 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.122, allocations: 12.12 kB / 494.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1221, allocations: 49.67 kB / 494.7 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1222, allocations: 3.984 kB / 494.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1222, allocations: 4 kB / 494.7 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.1222, allocations: 0 / 494.7 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.1223, allocations: 23.92 kB / 494.8 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.1226, allocations: 288.9 kB / 495 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1228, allocations: 58.67 kB / 495.1 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.1229, allocations: 16.86 kB / 495.1 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1229, allocations: 3.938 kB / 495.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1231, allocations: 79.31 kB / 495.2 MB, free: 5.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1231, allocations: 0 / 495.2 MB, free: 5.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004949/0.1236, allocations: 181 kB / 495.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1236, allocations: 55.41 kB / 495.4 MB, free: 5.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.1239, allocations: 251.7 kB / 495.7 MB, free: 5.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1239, allocations: 29.7 kB / 495.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.124, allocations: 108.1 kB / 495.8 MB, free: 4.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.124, allocations: 35.58 kB / 495.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.124, allocations: 8 kB / 495.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1242, allocations: 326.8 kB / 496.2 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.1242, allocations: 19.98 kB / 496.2 MB, free: 4.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.1243, allocations: 37.7 kB / 496.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1244, allocations: 61.62 kB / 496.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1244, allocations: 4 kB / 496.3 MB, free: 4.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1246, allocations: 101.5 kB / 496.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1247, allocations: 4 kB / 496.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1247, allocations: 3.938 kB / 496.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1247, allocations: 0 / 496.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1248, allocations: 19.98 kB / 496.4 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1248, allocations: 0 / 496.4 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.1249, allocations: 7.938 kB / 496.4 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1249, allocations: 4 kB / 496.4 MB, free: 4.254 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.0001582/0.125, allocations: 133.9 kB / 496.6 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.1251, allocations: 15.81 kB / 496.6 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.1251, allocations: 25.77 kB / 496.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1252, allocations: 0 / 496.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1252, allocations: 0 / 496.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1252, allocations: 3.938 kB / 496.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.1257, allocations: 403.3 kB / 497 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1257, allocations: 4.031 kB / 497 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.1258, allocations: 11.94 kB / 497 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1258, allocations: 0 / 497 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1258, allocations: 11.94 kB / 497 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1258, allocations: 0 / 497 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1258, allocations: 3.984 kB / 497 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1261, allocations: 204.4 kB / 497.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.1262, allocations: 96.91 kB / 497.3 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1262, allocations: 7.875 kB / 497.3 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1263, allocations: 7.984 kB / 497.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1263, allocations: 8 kB / 497.4 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1263, allocations: 0 / 497.4 MB, free: 3.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001863/0.1265, allocations: 203 kB / 497.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.137e-05/0.1265, allocations: 3.938 kB / 497.6 MB, free: 3.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.1268, allocations: 27.94 kB / 497.6 MB, free: 3 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.001097/0.1279, allocations: 0.5301 MB / 498.1 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1281, allocations: 55.95 kB / 498.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1281, allocations: 8 kB / 498.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.1282, allocations: 27.98 kB / 498.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1285, allocations: 27.98 kB / 498.2 MB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.1291, allocations: 314.9 kB / 498.5 MB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1294, allocations: 0.7199 MB / 499.3 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.1295, allocations: 13.19 kB / 499.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.1295, allocations: 23.42 kB / 499.3 MB, free: 1.367 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1295, allocations: 0 / 499.3 MB, free: 1.367 MB / 378.7 MB Notification: Performance of Templates: time 0.1852/0.3147, allocations: 1.635 MB / 0.4892 GB, free: 42.69 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches