Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008436/0.0008435, allocations: 179.9 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.456/1.456, allocations: 205.6 MB / 222.4 MB, free: 13.68 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.0007569/0.0007569, allocations: 86.3 kB / 270.8 MB, free: 13.21 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.189/0.189, allocations: 43.68 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 58.86 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.001705/0.1053, allocations: 1.309 MB / 492.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005789/0.1059, allocations: 412.9 kB / 492.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.1059, allocations: 3.938 kB / 492.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.1062, allocations: 59.84 kB / 492.9 MB, free: 6.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1063, allocations: 63.81 kB / 493 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1067, allocations: 143.8 kB / 493.2 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.1068, allocations: 71.81 kB / 493.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1069, allocations: 20.27 kB / 493.2 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.107, allocations: 31.84 kB / 493.3 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.24e-05/0.107, allocations: 51.81 kB / 493.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1071, allocations: 0 / 493.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.1071, allocations: 24 kB / 493.3 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.1072, allocations: 19.92 kB / 493.4 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.1073, allocations: 53.44 kB / 493.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1074, allocations: 103.6 kB / 493.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1074, allocations: 0 / 493.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1074, allocations: 0 / 493.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1074, allocations: 0 / 493.5 MB, free: 5.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004253/0.1079, allocations: 399.2 kB / 493.9 MB, free: 5.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1079, allocations: 11.97 kB / 493.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.108, allocations: 8.844 kB / 493.9 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.1081, allocations: 204.1 kB / 494.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.1081, allocations: 384 / 494.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1082, allocations: 8.281 kB / 494.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1083, allocations: 65.8 kB / 494.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1083, allocations: 0 / 494.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1084, allocations: 0 / 494.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1084, allocations: 4 kB / 494.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1085, allocations: 55.89 kB / 494.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.1089, allocations: 312.8 kB / 494.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.109, allocations: 50.55 kB / 494.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.1091, allocations: 28.94 kB / 494.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1092, allocations: 4 kB / 494.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1092, allocations: 38.5 kB / 494.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1092, allocations: 4 kB / 494.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007325/0.1099, allocations: 261.2 kB / 494.9 MB, free: 4.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.11, allocations: 55.41 kB / 495 MB, free: 4.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1101, allocations: 206.9 kB / 495.2 MB, free: 3.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1102, allocations: 25.7 kB / 495.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.1102, allocations: 116 kB / 495.3 MB, free: 3.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1102, allocations: 19.72 kB / 495.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.1102, allocations: 0 / 495.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.1103, allocations: 326.8 kB / 495.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1105, allocations: 51.95 kB / 495.7 MB, free: 3.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1106, allocations: 43.91 kB / 495.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.1108, allocations: 104.8 kB / 495.9 MB, free: 3.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1108, allocations: 0 / 495.9 MB, free: 3.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002759/0.1111, allocations: 141.5 kB / 496 MB, free: 3.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1111, allocations: 7.984 kB / 496 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1111, allocations: 0 / 496 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1111, allocations: 0 / 496 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1113, allocations: 27.98 kB / 496 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1113, allocations: 4 kB / 496 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.1114, allocations: 15.92 kB / 496.1 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1114, allocations: 7.938 kB / 496.1 MB, free: 2.969 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 (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.939e-05/0.1115, allocations: 125.8 kB / 496.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1115, allocations: 15.81 kB / 496.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.1119, allocations: 167.2 kB / 496.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1119, allocations: 0 / 496.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1119, allocations: 0 / 496.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1119, allocations: 3.938 kB / 496.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.1124, allocations: 426.5 kB / 496.8 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1124, allocations: 4 kB / 496.8 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.1125, allocations: 27.92 kB / 496.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1125, allocations: 0 / 496.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1125, allocations: 3.938 kB / 496.8 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1125, allocations: 0 / 496.8 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1125, allocations: 4 kB / 496.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.1128, allocations: 235.4 kB / 497.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.1129, allocations: 96.91 kB / 497.2 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1129, allocations: 3.938 kB / 497.2 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.113, allocations: 15.98 kB / 497.2 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.113, allocations: 4 kB / 497.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.113, allocations: 4 kB / 497.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1132, allocations: 155.2 kB / 497.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1132, allocations: 4 kB / 497.3 MB, free: 1.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.1134, allocations: 19.98 kB / 497.4 MB, free: 1.578 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 (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.0008194/0.1142, allocations: 469.1 kB / 497.8 MB, free: 1.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.1145, allocations: 116.1 kB / 497.9 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1145, allocations: 0 / 497.9 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1147, allocations: 55.91 kB / 498 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.115, allocations: 19.98 kB / 498 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.1154, allocations: 285.4 kB / 498.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1156, allocations: 0.7121 MB / 499 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.921e-05/0.1158, allocations: 20.05 kB / 499 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.1158, allocations: 15.38 kB / 499 MB, free: 15.97 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1158, allocations: 0 / 499 MB, free: 15.97 MB / 346.7 MB Notification: Performance of Templates: time 0.003136/0.1189, allocations: 1.196 MB / 0.4885 GB, free: 14.79 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches