Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.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.001678/0.001678, allocations: 169.9 kB / 16.08 MB, free: 5.727 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.423/1.423, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0007681/0.000768, allocations: 98.48 kB / 270.8 MB, free: 8.121 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.3299/0.3299, allocations: 43.67 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.000283, allocations: 8 kB / 432.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.09965, allocations: 58.84 MB / 491.2 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001682/0.1014, allocations: 1.325 MB / 492.5 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005837/0.102, allocations: 397 kB / 492.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.102, allocations: 3.938 kB / 492.9 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.1022, allocations: 51.86 kB / 492.9 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1024, allocations: 39.91 kB / 493 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1027, allocations: 143.8 kB / 493.1 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.1029, allocations: 75.75 kB / 493.2 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.103, allocations: 28.11 kB / 493.2 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.103, allocations: 19.92 kB / 493.2 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.1031, allocations: 39.83 kB / 493.3 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1031, allocations: 4 kB / 493.3 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.1032, allocations: 20 kB / 493.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.1033, allocations: 23.92 kB / 493.3 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1033, allocations: 53.44 kB / 493.4 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1034, allocations: 87.64 kB / 493.4 MB, free: 7.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1035, allocations: 4 kB / 493.5 MB, free: 7.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1035, allocations: 0 / 493.5 MB, free: 7.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.1035, allocations: 0 / 493.5 MB, free: 7.492 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.0004065/0.1039, allocations: 387.2 kB / 493.8 MB, free: 7.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1039, allocations: 12.03 kB / 493.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.104, allocations: 12.84 kB / 493.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.1041, allocations: 191.7 kB / 494 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1041, allocations: 4.375 kB / 494 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1042, allocations: 8.375 kB / 494.1 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1043, allocations: 73.7 kB / 494.1 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1043, allocations: 0 / 494.1 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1044, allocations: 4 kB / 494.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1044, allocations: 0 / 494.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1045, allocations: 47.97 kB / 494.2 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.1049, allocations: 308.8 kB / 494.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.105, allocations: 50.5 kB / 494.5 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.1051, allocations: 32.92 kB / 494.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1052, allocations: 0 / 494.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1052, allocations: 42.5 kB / 494.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1052, allocations: 0 / 494.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007356/0.1059, allocations: 261 kB / 494.9 MB, free: 5.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.106, allocations: 59.41 kB / 494.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1061, allocations: 171.8 kB / 495.1 MB, free: 5.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1061, allocations: 25.7 kB / 495.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.1062, allocations: 96.14 kB / 495.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.1062, allocations: 27.7 kB / 495.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.1062, allocations: 4 kB / 495.2 MB, free: 5.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.1063, allocations: 322.8 kB / 495.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1065, allocations: 43.97 kB / 495.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1066, allocations: 47.91 kB / 495.6 MB, free: 5.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.1068, allocations: 108.7 kB / 495.7 MB, free: 4.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1068, allocations: 0 / 495.7 MB, free: 4.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002745/0.1071, allocations: 141.4 kB / 495.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1071, allocations: 8 kB / 495.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1071, allocations: 0 / 495.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1072, allocations: 0 / 495.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1073, allocations: 23.98 kB / 495.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1073, allocations: 7.938 kB / 495.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.1073, allocations: 11.98 kB / 495.9 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1074, allocations: 4 kB / 495.9 MB, free: 4.793 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.955e-05/0.1074, allocations: 129.8 kB / 496.1 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1075, allocations: 7.906 kB / 496.1 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.1078, allocations: 154.3 kB / 496.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1078, allocations: 4 kB / 496.2 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1078, allocations: 7.938 kB / 496.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1078, allocations: 0 / 496.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.1084, allocations: 422.8 kB / 496.6 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1084, allocations: 0 / 496.6 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.1085, allocations: 19.98 kB / 496.7 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1085, allocations: 3.938 kB / 496.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1085, allocations: 4 kB / 496.7 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1085, allocations: 80 / 496.7 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1085, allocations: 3.984 kB / 496.7 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.1088, allocations: 247.2 kB / 496.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.1089, allocations: 92.94 kB / 497 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1089, allocations: 4 kB / 497 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.109, allocations: 16 kB / 497 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.109, allocations: 7.984 kB / 497 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.109, allocations: 0 / 497 MB, free: 3.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.1091, allocations: 133.9 kB / 497.2 MB, free: 3.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1091, allocations: 0 / 497.2 MB, free: 3.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.1094, allocations: 15.98 kB / 497.2 MB, free: 3.445 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.0008062/0.1102, allocations: 461.3 kB / 497.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.1105, allocations: 103.9 kB / 497.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1105, allocations: 0 / 497.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1106, allocations: 59.89 kB / 497.8 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1109, allocations: 27.52 kB / 497.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.1113, allocations: 261.5 kB / 498.1 MB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1116, allocations: 0.7082 MB / 498.8 MB, free: 1.906 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.899e-05/0.1116, allocations: 23.97 kB / 498.8 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.1117, allocations: 15.38 kB / 498.8 MB, free: 1.867 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1117, allocations: 0 / 498.8 MB, free: 1.867 MB / 378.7 MB Notification: Performance of Templates: time 0.003086/0.1148, allocations: 1.174 MB / 500 MB, free: 0.6953 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches