Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 177.4 kB / 16.08 MB, free: 5.215 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.361/1.361, allocations: 205.6 MB / 222.4 MB, free: 13.54 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.0007902/0.0007903, allocations: 94.23 kB / 270.8 MB, free: 13.06 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.1902/0.1902, allocations: 43.68 MB / 362.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 58.86 MB / 491.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002008/0.1105, allocations: 1.254 MB / 492.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006404/0.1112, allocations: 381.9 kB / 492.8 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.1112, allocations: 7.938 kB / 492.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1115, allocations: 19.91 kB / 492.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1116, allocations: 27.92 kB / 492.9 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1119, allocations: 63.86 kB / 492.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1121, allocations: 47.91 kB / 493 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1122, allocations: 15.98 kB / 493 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.1122, allocations: 15.88 kB / 493 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.1123, allocations: 23.86 kB / 493 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1123, allocations: 3.984 kB / 493 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.633e-05/0.1124, allocations: 20 kB / 493 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.1125, allocations: 11.92 kB / 493.1 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.1125, allocations: 45.52 kB / 493.1 MB, free: 6.148 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.1127, allocations: 76 kB / 493.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1127, allocations: 4 kB / 493.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1127, allocations: 0 / 493.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1127, allocations: 4 kB / 493.2 MB, free: 6.066 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000435/0.1132, allocations: 367.3 kB / 493.5 MB, free: 5.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1132, allocations: 16.02 kB / 493.6 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1133, allocations: 4.844 kB / 493.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1135, allocations: 188.2 kB / 493.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1135, allocations: 384 / 493.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1135, allocations: 384 / 493.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1136, allocations: 61.8 kB / 493.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1137, allocations: 0 / 493.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1137, allocations: 0 / 493.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1137, allocations: 4 kB / 493.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.1138, allocations: 23.98 kB / 493.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.1141, allocations: 276.8 kB / 494.1 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1144, allocations: 54.5 kB / 494.2 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.1144, allocations: 12.86 kB / 494.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1145, allocations: 0 / 494.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1145, allocations: 38.64 kB / 494.2 MB, free: 4.879 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 4.298e-06/0.1145, allocations: 8 kB / 494.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005503/0.1151, allocations: 161.3 kB / 494.4 MB, free: 4.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.1151, allocations: 55.41 kB / 494.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1152, allocations: 145.8 kB / 494.6 MB, free: 4.488 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1153, allocations: 29.7 kB / 494.6 MB, free: 4.453 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.1153, allocations: 96.12 kB / 494.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1154, allocations: 15.75 kB / 494.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.1154, allocations: 0 / 494.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1155, allocations: 322.8 kB / 495 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.1155, allocations: 31.92 kB / 495.1 MB, free: 3.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.1156, allocations: 27.92 kB / 495.1 MB, free: 3.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1158, allocations: 48.83 kB / 495.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1158, allocations: 0 / 495.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001788/0.1159, allocations: 89.58 kB / 495.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.116, allocations: 4.625 kB / 495.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.116, allocations: 0 / 495.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.116, allocations: 0 / 495.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.1161, allocations: 23.92 kB / 495.2 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.1161, allocations: 0 / 495.2 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.034e-05/0.1161, allocations: 8 kB / 495.2 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1162, allocations: 7.938 kB / 495.3 MB, free: 3.77 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 (5): * Single equations (assignments): 5 * 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 9.157e-05/0.1163, allocations: 117.8 kB / 495.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.1163, allocations: 7.906 kB / 495.4 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1166, allocations: 98.22 kB / 495.5 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1166, allocations: 0 / 495.5 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1166, allocations: 4.062 kB / 495.5 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1166, allocations: 0 / 495.5 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.1171, allocations: 362.4 kB / 495.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1171, allocations: 0 / 495.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.1171, allocations: 15.98 kB / 495.8 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.1172, allocations: 0 / 495.8 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1172, allocations: 3.938 kB / 495.9 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1172, allocations: 3.938 kB / 495.9 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1172, allocations: 0 / 495.9 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1175, allocations: 191.4 kB / 496 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1175, allocations: 81.02 kB / 496.1 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1176, allocations: 4 kB / 496.1 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.1176, allocations: 15.92 kB / 496.1 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1177, allocations: 4 kB / 496.1 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.1177, allocations: 0 / 496.1 MB, free: 2.777 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.865e-05/0.1178, allocations: 123.2 kB / 496.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1178, allocations: 0 / 496.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000224/0.118, allocations: 16 kB / 496.3 MB, free: 2.641 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 (5): * Single equations (assignments): 5 * 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.0009643/0.119, allocations: 463.2 kB / 496.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1192, allocations: 55.97 kB / 496.8 MB, free: 2.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1192, allocations: 3.938 kB / 496.8 MB, free: 2.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.1193, allocations: 23.98 kB / 496.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1196, allocations: 15.98 kB / 496.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.12, allocations: 200.5 kB / 497 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1203, allocations: 0.6926 MB / 497.7 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.1204, allocations: 11.98 kB / 497.7 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.1204, allocations: 15.38 kB / 497.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1204, allocations: 0 / 497.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of Templates: time 0.003714/0.1241, allocations: 1.029 MB / 498.8 MB, free: 220 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches