Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 179.7 kB / 16.08 MB, free: 5.484 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.324/1.324, 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.0007174/0.0007174, allocations: 99.44 kB / 270.8 MB, free: 8.117 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.2822/0.2822, allocations: 43.67 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002747, allocations: 12 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 58.84 MB / 491.2 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.001738/0.1054, allocations: 1.329 MB / 492.5 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005785/0.106, allocations: 373 kB / 492.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.1061, allocations: 0 / 492.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.1063, allocations: 51.88 kB / 492.9 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.1065, allocations: 43.81 kB / 492.9 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1068, allocations: 103.8 kB / 493 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1069, allocations: 63.83 kB / 493.1 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.107, allocations: 12.19 kB / 493.1 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.107, allocations: 31.84 kB / 493.2 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.1071, allocations: 31.84 kB / 493.2 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1071, allocations: 4 kB / 493.2 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.1072, allocations: 27.98 kB / 493.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.1073, allocations: 23.91 kB / 493.2 MB, free: 7.695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.1073, allocations: 45.52 kB / 493.3 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1075, allocations: 84 kB / 493.4 MB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1075, allocations: 0 / 493.4 MB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1075, allocations: 4 kB / 493.4 MB, free: 7.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1075, allocations: 0 / 493.4 MB, free: 7.559 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000473/0.108, allocations: 387.1 kB / 493.7 MB, free: 7.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.108, allocations: 12.03 kB / 493.8 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.1081, allocations: 8.844 kB / 493.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.1083, allocations: 192.1 kB / 494 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.1083, allocations: 384 / 494 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.1083, allocations: 8.375 kB / 494 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1085, allocations: 65.59 kB / 494 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1085, allocations: 0 / 494 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1085, allocations: 4 kB / 494 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1085, allocations: 0 / 494 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1087, allocations: 51.91 kB / 494.1 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.109, allocations: 280.8 kB / 494.4 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1092, allocations: 42.56 kB / 494.4 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.1093, allocations: 32.94 kB / 494.4 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1093, allocations: 0 / 494.4 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1093, allocations: 38.55 kB / 494.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.334e-06/0.1093, allocations: 4 kB / 494.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007377/0.1101, allocations: 241.1 kB / 494.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1101, allocations: 55.34 kB / 494.8 MB, free: 5.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1103, allocations: 176.8 kB / 494.9 MB, free: 5.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1103, allocations: 33.64 kB / 495 MB, free: 5.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.1104, allocations: 96.12 kB / 495.1 MB, free: 5.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.1104, allocations: 23.66 kB / 495.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.1104, allocations: 4 kB / 495.1 MB, free: 5.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1105, allocations: 322.8 kB / 495.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1106, allocations: 35.97 kB / 495.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1107, allocations: 47.97 kB / 495.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.111, allocations: 84.81 kB / 495.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.111, allocations: 0 / 495.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002665/0.1112, allocations: 133.5 kB / 495.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1113, allocations: 7.938 kB / 495.7 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1113, allocations: 0 / 495.7 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1113, allocations: 4 kB / 495.7 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1114, allocations: 19.98 kB / 495.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1114, allocations: 3.938 kB / 495.7 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.1115, allocations: 19.92 kB / 495.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1115, allocations: 4 kB / 495.8 MB, free: 4.953 MB / 378.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 (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 7.578e-05/0.1116, allocations: 121.8 kB / 495.9 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1116, allocations: 11.91 kB / 495.9 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.112, allocations: 142.6 kB / 496 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.112, allocations: 0 / 496 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.112, allocations: 4 kB / 496 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.112, allocations: 7.938 kB / 496 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.1125, allocations: 406.5 kB / 496.4 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1125, allocations: 0 / 496.4 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.1126, allocations: 19.98 kB / 496.5 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1126, allocations: 7.938 kB / 496.5 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1126, allocations: 11.94 kB / 496.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1127, allocations: 0 / 496.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1127, allocations: 0 / 496.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.113, allocations: 219.4 kB / 496.7 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.113, allocations: 89 kB / 496.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.113, allocations: 3.938 kB / 496.8 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.1131, allocations: 11.98 kB / 496.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.1132, allocations: 11.98 kB / 496.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1132, allocations: 8 kB / 496.8 MB, free: 3.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.961e-05/0.1133, allocations: 123.2 kB / 496.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1133, allocations: 0 / 496.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.1135, allocations: 20 kB / 496.9 MB, free: 3.656 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008374/0.1144, allocations: 476 kB / 497.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1146, allocations: 91.94 kB / 497.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1146, allocations: 0 / 497.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1148, allocations: 55.91 kB / 497.6 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1151, allocations: 20.06 kB / 497.6 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.1155, allocations: 237 kB / 497.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1157, allocations: 0.7004 MB / 498.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.385e-05/0.1158, allocations: 11.97 kB / 498.5 MB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.1158, allocations: 11.44 kB / 498.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1158, allocations: 0 / 498.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of Templates: time 0.003092/0.1189, allocations: 1.142 MB / 499.7 MB, free: 1 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches