Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.00152, allocations: 171.8 kB / 16.07 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.582/1.582, allocations: 205.6 MB / 222.4 MB, free: 8.938 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.0008268/0.0008267, allocations: 91.08 kB / 270.8 MB, free: 8.133 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.3189/0.3189, allocations: 43.66 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003011, allocations: 12 kB / 432.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 58.84 MB / 491.2 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001946/0.1057, allocations: 1.309 MB / 492.5 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.1063, allocations: 416.9 kB / 492.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.1064, allocations: 0 / 492.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.107, allocations: 455.2 kB / 493.3 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1073, allocations: 235.6 kB / 493.5 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1077, allocations: 143.8 kB / 493.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.1079, allocations: 163.7 kB / 493.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.108, allocations: 24.44 kB / 493.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1081, allocations: 99.78 kB / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1084, allocations: 203.6 kB / 494.2 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1084, allocations: 0 / 494.2 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-05/0.1085, allocations: 20 kB / 494.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1086, allocations: 87.62 kB / 494.3 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.1087, allocations: 124.7 kB / 494.4 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1089, allocations: 250.9 kB / 494.6 MB, free: 6.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.109, allocations: 0 / 494.6 MB, free: 6.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.109, allocations: 0 / 494.6 MB, free: 6.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.109, allocations: 0 / 494.6 MB, free: 6.305 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.0006346/0.1096, allocations: 0.5872 MB / 495.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1097, allocations: 8.031 kB / 495.2 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.1097, allocations: 40.47 kB / 495.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.11, allocations: 300.1 kB / 495.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.11, allocations: 8.375 kB / 495.6 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1101, allocations: 4.375 kB / 495.6 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1102, allocations: 61.61 kB / 495.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1102, allocations: 0 / 495.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1102, allocations: 0 / 495.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1103, allocations: 0 / 495.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1104, allocations: 35.97 kB / 495.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.1109, allocations: 404.6 kB / 496.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1111, allocations: 42.56 kB / 496.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.1111, allocations: 20.94 kB / 496.1 MB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1112, allocations: 7.938 kB / 496.1 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1112, allocations: 30.56 kB / 496.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1112, allocations: 4 kB / 496.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006032/0.1118, allocations: 256 kB / 496.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.1119, allocations: 51.41 kB / 496.5 MB, free: 4.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007648/0.1126, allocations: 0.8574 MB / 497.3 MB, free: 3.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1127, allocations: 29.7 kB / 497.4 MB, free: 3.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1128, allocations: 220.1 kB / 497.6 MB, free: 3.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1128, allocations: 11.75 kB / 497.6 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.1129, allocations: 4 kB / 497.6 MB, free: 3.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.113, allocations: 366.8 kB / 497.9 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.1131, allocations: 23.92 kB / 498 MB, free: 2.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.1132, allocations: 27.98 kB / 498 MB, free: 2.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1133, allocations: 60.83 kB / 498.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1133, allocations: 0 / 498.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002263/0.1135, allocations: 129.1 kB / 498.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1136, allocations: 4 kB / 498.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1136, allocations: 0 / 498.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1136, allocations: 8 kB / 498.2 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.1137, allocations: 15.92 kB / 498.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1137, allocations: 4 kB / 498.2 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.1137, allocations: 7.938 kB / 498.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1138, allocations: 0 / 498.2 MB, free: 2.496 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 (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.000172/0.1139, allocations: 217.7 kB / 498.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.114, allocations: 43.44 kB / 498.5 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.1143, allocations: 149.4 kB / 498.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1143, allocations: 0 / 498.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1143, allocations: 0 / 498.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1143, allocations: 11.94 kB / 498.6 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.1149, allocations: 474.4 kB / 499.1 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1149, allocations: 0 / 499.1 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.1149, allocations: 12 kB / 499.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1149, allocations: 4 kB / 499.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.115, allocations: 3.938 kB / 499.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.115, allocations: 0 / 499.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.115, allocations: 7.938 kB / 499.1 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1152, allocations: 226.9 kB / 499.3 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.1153, allocations: 112.6 kB / 499.5 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1153, allocations: 3.938 kB / 499.5 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.1154, allocations: 8 kB / 499.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1155, allocations: 11.98 kB / 499.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1155, allocations: 0 / 499.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005681/0.116, allocations: 0.6433 MB / 0.4884 GB, free: 500 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.116, allocations: 0 / 0.4884 GB, free: 500 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.1163, allocations: 20 kB / 0.4884 GB, free: 480 kB / 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 (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.0008496/0.1171, allocations: 469.6 kB / 0.4889 GB, free: 132 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1173, allocations: 67.89 kB / 0.4889 GB, free: 64 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1174, allocations: 0 / 0.4889 GB, free: 64 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.1174, allocations: 27.98 kB / 0.489 GB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1582/0.2756, allocations: 38.47 kB / 0.489 GB, free: 43.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2769, allocations: 0.8659 MB / 0.4898 GB, free: 43.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2772, allocations: 0.8292 MB / 0.4907 GB, free: 42.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.166e-05/0.2773, allocations: 15.28 kB / 0.4907 GB, free: 42.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.2773, allocations: 13.25 kB / 0.4907 GB, free: 42.48 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2773, allocations: 0 / 0.4907 GB, free: 42.48 MB / 378.7 MB Notification: Performance of Templates: time 0.004572/0.2819, allocations: 1.353 MB / 0.492 GB, free: 42.42 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches