Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008483/0.0008484, allocations: 181.1 kB / 16.08 MB, free: 5.527 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.285/1.285, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0007978/0.0007979, allocations: 86.25 kB / 270.8 MB, free: 13.19 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.1881/0.1881, allocations: 43.69 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 8 kB / 432.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 58.86 MB / 491.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001771/0.1084, allocations: 1.262 MB / 492.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006062/0.109, allocations: 381.8 kB / 492.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.1091, allocations: 0 / 492.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.1094, allocations: 87.81 kB / 492.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1095, allocations: 63.84 kB / 493 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1097, allocations: 67.86 kB / 493 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1099, allocations: 59.89 kB / 493.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.11, allocations: 11.98 kB / 493.1 MB, free: 6.148 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.11, allocations: 31.84 kB / 493.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.1101, allocations: 47.83 kB / 493.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1102, allocations: 4 kB / 493.2 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.1102, allocations: 27.98 kB / 493.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.1103, allocations: 19.92 kB / 493.2 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.1104, allocations: 53.45 kB / 493.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1105, allocations: 91.92 kB / 493.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1105, allocations: 0 / 493.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1105, allocations: 0 / 493.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.1105, allocations: 0 / 493.4 MB, free: 5.871 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.0004399/0.111, allocations: 387.2 kB / 493.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.111, allocations: 8.031 kB / 493.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.1111, allocations: 12.75 kB / 493.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1113, allocations: 210.1 kB / 494 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1113, allocations: 384 / 494 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1113, allocations: 4.375 kB / 494 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1115, allocations: 53.8 kB / 494 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1115, allocations: 0 / 494 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1115, allocations: 4 kB / 494 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1115, allocations: 0 / 494 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1116, allocations: 23.98 kB / 494 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.112, allocations: 292.8 kB / 494.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1122, allocations: 42.56 kB / 494.4 MB, free: 4.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.1123, allocations: 20.94 kB / 494.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1123, allocations: 4 kB / 494.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1123, allocations: 30.56 kB / 494.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1123, allocations: 0 / 494.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005489/0.1129, allocations: 161.2 kB / 494.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1129, allocations: 59.34 kB / 494.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1131, allocations: 222.3 kB / 494.9 MB, free: 4.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1132, allocations: 25.7 kB / 494.9 MB, free: 4.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.1132, allocations: 108 kB / 495 MB, free: 4.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1133, allocations: 19.75 kB / 495 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.1133, allocations: 0 / 495 MB, free: 4.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1134, allocations: 330.8 kB / 495.3 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.1135, allocations: 23.92 kB / 495.4 MB, free: 3.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.1136, allocations: 23.98 kB / 495.4 MB, free: 3.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1137, allocations: 52.83 kB / 495.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1137, allocations: 4 kB / 495.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001904/0.1139, allocations: 81.58 kB / 495.5 MB, free: 3.496 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1139, allocations: 11.94 kB / 495.5 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1139, allocations: 4 kB / 495.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1139, allocations: 288 / 495.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.114, allocations: 19.92 kB / 495.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.114, allocations: 0 / 495.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.1141, allocations: 8.25 kB / 495.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1141, allocations: 4 kB / 495.6 MB, free: 3.449 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 0.000102/0.1142, allocations: 125.8 kB / 495.7 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1142, allocations: 23.8 kB / 495.7 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.1145, allocations: 102.7 kB / 495.8 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1145, allocations: 0 / 495.8 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1145, allocations: 3.984 kB / 495.8 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1145, allocations: 0 / 495.8 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.115, allocations: 362.5 kB / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.115, allocations: 0 / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.115, allocations: 15.98 kB / 496.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.115, allocations: 0 / 496.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1151, allocations: 4 kB / 496.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1151, allocations: 3.938 kB / 496.2 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1151, allocations: 4 kB / 496.2 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1153, allocations: 187.4 kB / 496.4 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.1154, allocations: 88.92 kB / 496.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1154, allocations: 4 kB / 496.5 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1155, allocations: 15.92 kB / 496.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1155, allocations: 4 kB / 496.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1155, allocations: 0 / 496.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1157, allocations: 171.2 kB / 496.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1157, allocations: 0 / 496.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.1159, allocations: 8 kB / 496.7 MB, free: 2.246 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.0009074/0.1168, allocations: 480.9 kB / 497.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.117, allocations: 51.91 kB / 497.2 MB, free: 1.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1171, allocations: 3.938 kB / 497.2 MB, free: 1.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.1171, allocations: 27.98 kB / 497.2 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1174, allocations: 23.98 kB / 497.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.1179, allocations: 249.7 kB / 497.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1182, allocations: 0.7043 MB / 498.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.1182, allocations: 7.984 kB / 498.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.1183, allocations: 11.44 kB / 498.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1183, allocations: 0 / 498.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of Templates: time 0.0034/0.1217, allocations: 1.055 MB / 499.3 MB, free: 15.72 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches