Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 179.2 kB / 16.08 MB, free: 5.531 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.341/1.341, 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.000749/0.000749, allocations: 82.31 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.1862/0.1862, allocations: 43.69 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 8 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 58.85 MB / 491.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002594/0.1206, allocations: 1.279 MB / 492.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.1217, allocations: 373 kB / 492.8 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.1218, allocations: 0 / 492.8 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1221, allocations: 39.84 kB / 492.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1224, allocations: 35.84 kB / 492.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.1228, allocations: 59.92 kB / 492.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.123, allocations: 67.75 kB / 493 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1231, allocations: 12.47 kB / 493 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.1233, allocations: 27.92 kB / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1234, allocations: 27.84 kB / 493.1 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1234, allocations: 4 kB / 493.1 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1235, allocations: 23.92 kB / 493.1 MB, free: 6.172 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.1236, allocations: 11.94 kB / 493.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.1237, allocations: 49.5 kB / 493.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1239, allocations: 83.7 kB / 493.2 MB, free: 6.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.124, allocations: 4 kB / 493.2 MB, free: 6.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.124, allocations: 0 / 493.2 MB, free: 6.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.124, allocations: 0 / 493.2 MB, free: 6.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006163/0.1246, allocations: 371.3 kB / 493.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1247, allocations: 12.03 kB / 493.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.1248, allocations: 4.844 kB / 493.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.125, allocations: 200 kB / 493.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1251, allocations: 384 / 493.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.1251, allocations: 8.375 kB / 493.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1253, allocations: 69.58 kB / 493.9 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1254, allocations: 0 / 493.9 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1254, allocations: 7.938 kB / 493.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1254, allocations: 0 / 493.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1256, allocations: 35.97 kB / 493.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.1261, allocations: 292.8 kB / 494.2 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1263, allocations: 58.56 kB / 494.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.1264, allocations: 16.98 kB / 494.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.476e-05/0.1265, allocations: 7.984 kB / 494.3 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1265, allocations: 30.56 kB / 494.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1265, allocations: 0 / 494.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008727/0.1274, allocations: 189.3 kB / 494.5 MB, free: 4.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1275, allocations: 55.41 kB / 494.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1277, allocations: 161.7 kB / 494.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1277, allocations: 29.7 kB / 494.8 MB, free: 4.305 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.1278, allocations: 100.1 kB / 494.9 MB, free: 4.203 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1278, allocations: 19.72 kB / 494.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.1278, allocations: 0 / 494.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.128, allocations: 322.8 kB / 495.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1281, allocations: 27.98 kB / 495.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1283, allocations: 31.98 kB / 495.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1285, allocations: 68.77 kB / 495.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1285, allocations: 0 / 495.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003428/0.1289, allocations: 113.5 kB / 495.4 MB, free: 3.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1289, allocations: 4.625 kB / 495.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1289, allocations: 0 / 495.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.129, allocations: 0 / 495.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1291, allocations: 24.3 kB / 495.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1292, allocations: 3.938 kB / 495.5 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.1292, allocations: 11.94 kB / 495.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1293, allocations: 8 kB / 495.5 MB, free: 3.562 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001107/0.1294, allocations: 125.8 kB / 495.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.1294, allocations: 7.906 kB / 495.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.1299, allocations: 118.3 kB / 495.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1299, allocations: 8 kB / 495.7 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1299, allocations: 3.938 kB / 495.7 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1299, allocations: 3.938 kB / 495.7 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.1306, allocations: 390.8 kB / 496.1 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1306, allocations: 4 kB / 496.1 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1307, allocations: 19.98 kB / 496.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.1308, allocations: 3.938 kB / 496.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1308, allocations: 11.92 kB / 496.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1308, allocations: 0 / 496.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1308, allocations: 0 / 496.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.1312, allocations: 203.4 kB / 496.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.1313, allocations: 84.95 kB / 496.4 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1313, allocations: 4 kB / 496.5 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.1314, allocations: 11.98 kB / 496.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1315, allocations: 4 kB / 496.5 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1315, allocations: 0 / 496.5 MB, free: 2.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1316, allocations: 123.2 kB / 496.6 MB, free: 2.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1316, allocations: 4 kB / 496.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.1321, allocations: 23.98 kB / 496.6 MB, free: 2.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001333/0.1334, allocations: 466.1 kB / 497.1 MB, free: 1.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.1337, allocations: 75.94 kB / 497.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1337, allocations: 3.938 kB / 497.1 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.1339, allocations: 39.92 kB / 497.2 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.1344, allocations: 16.39 kB / 497.2 MB, free: 1.863 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.1349, allocations: 229 kB / 497.4 MB, free: 1.613 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1352, allocations: 0.7005 MB / 498.1 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.096e-05/0.1353, allocations: 12.64 kB / 498.1 MB, free: 0.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.1354, allocations: 15.44 kB / 498.2 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1354, allocations: 3.938 kB / 498.2 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of Templates: time 0.004681/0.1401, allocations: 1.103 MB / 499.3 MB, free: 15.76 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches