Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 173.2 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.364/1.364, allocations: 205.6 MB / 222.4 MB, free: 8.941 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.0008116/0.0008116, allocations: 99.25 kB / 270.8 MB, free: 8.125 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.3335/0.3335, allocations: 43.67 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003393, allocations: 8 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 58.84 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002045/0.1151, allocations: 1.317 MB / 492.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006009/0.1157, allocations: 384.9 kB / 492.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.1158, allocations: 4 kB / 492.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.116, allocations: 59.86 kB / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1162, allocations: 51.81 kB / 493 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.1165, allocations: 107.9 kB / 493.1 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1166, allocations: 75.75 kB / 493.1 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.1167, allocations: 12.17 kB / 493.2 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.1167, allocations: 27.91 kB / 493.2 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.1168, allocations: 47.83 kB / 493.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1169, allocations: 0 / 493.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.43e-05/0.1169, allocations: 35.92 kB / 493.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.117, allocations: 19.92 kB / 493.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.1171, allocations: 53.44 kB / 493.3 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1172, allocations: 95.92 kB / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1172, allocations: 0 / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1172, allocations: 0 / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1173, allocations: 0 / 493.4 MB, free: 7.73 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.0004931/0.1178, allocations: 395.1 kB / 493.8 MB, free: 7.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1178, allocations: 8.031 kB / 493.8 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.1178, allocations: 12.84 kB / 493.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1181, allocations: 196.1 kB / 494 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1181, allocations: 8.312 kB / 494 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1181, allocations: 4.375 kB / 494 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1183, allocations: 65.62 kB / 494.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1183, allocations: 3.984 kB / 494.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1183, allocations: 0 / 494.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1183, allocations: 0 / 494.1 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.1185, allocations: 39.97 kB / 494.1 MB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1188, allocations: 304.6 kB / 494.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1189, allocations: 42.56 kB / 494.5 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.119, allocations: 28.94 kB / 494.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.119, allocations: 4 kB / 494.5 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1191, allocations: 34.56 kB / 494.6 MB, free: 6.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1191, allocations: 0 / 494.6 MB, free: 6.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000746/0.1198, allocations: 249.2 kB / 494.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1199, allocations: 55.41 kB / 494.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1201, allocations: 199.7 kB / 495 MB, free: 5.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1201, allocations: 29.64 kB / 495.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.1201, allocations: 108.1 kB / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1202, allocations: 23.59 kB / 495.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1202, allocations: 0 / 495.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.1203, allocations: 322.8 kB / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1204, allocations: 43.97 kB / 495.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1205, allocations: 47.97 kB / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.1207, allocations: 88.81 kB / 495.7 MB, free: 5.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1207, allocations: 0 / 495.7 MB, free: 5.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002585/0.121, allocations: 137.4 kB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.121, allocations: 4 kB / 495.8 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.121, allocations: 0 / 495.8 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.121, allocations: 4 kB / 495.8 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1212, allocations: 23.98 kB / 495.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1212, allocations: 0 / 495.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.1212, allocations: 15.92 kB / 495.9 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1213, allocations: 7.938 kB / 495.9 MB, free: 5.055 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 8.317e-05/0.1213, allocations: 129.8 kB / 496 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1214, allocations: 11.91 kB / 496 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.1217, allocations: 138.3 kB / 496.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1217, allocations: 0 / 496.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1217, allocations: 0 / 496.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1217, allocations: 3.938 kB / 496.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.1222, allocations: 410.5 kB / 496.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1222, allocations: 0 / 496.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/0.1223, allocations: 27.97 kB / 496.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1223, allocations: 0 / 496.6 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1223, allocations: 4.219 kB / 496.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1223, allocations: 0 / 496.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1223, allocations: 8 kB / 496.6 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.1226, allocations: 227.2 kB / 496.8 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.1227, allocations: 93 kB / 496.9 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1227, allocations: 7.922 kB / 496.9 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.1228, allocations: 8 kB / 496.9 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.1229, allocations: 7.984 kB / 496.9 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1229, allocations: 0 / 496.9 MB, free: 3.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.123, allocations: 161.8 kB / 497.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.123, allocations: 7.938 kB / 497.1 MB, free: 3.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.1232, allocations: 16 kB / 497.1 MB, free: 3.719 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.0009128/0.1241, allocations: 474.2 kB / 497.6 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.1244, allocations: 95.88 kB / 497.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1244, allocations: 0 / 497.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1246, allocations: 51.91 kB / 497.7 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1249, allocations: 27.38 kB / 497.8 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.1253, allocations: 269.6 kB / 498 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1256, allocations: 0.716 MB / 498.7 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.066e-05/0.1257, allocations: 8.297 kB / 498.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.1257, allocations: 15.42 kB / 498.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of SimCode: time 1.813e-06/0.1257, allocations: 0 / 498.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of Templates: time 0.003263/0.129, allocations: 1.152 MB / 499.9 MB, free: 1 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches