Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,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.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 182.6 kB / 16.08 MB, free: 5.523 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.309/1.309, allocations: 205.6 MB / 222.4 MB, free: 13.65 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.0007579/0.0007579, allocations: 94.25 kB / 270.8 MB, free: 13.18 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.1848/0.1848, allocations: 43.69 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1102, allocations: 58.86 MB / 491.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002076/0.1123, allocations: 1.301 MB / 492.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008493/0.1132, allocations: 416.9 kB / 492.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.1133, allocations: 3.938 kB / 492.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.1139, allocations: 451.2 kB / 493.3 MB, free: 5.922 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.1143, allocations: 251.5 kB / 493.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.1148, allocations: 127.8 kB / 493.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.1151, allocations: 171.6 kB / 493.9 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1152, allocations: 16.47 kB / 493.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1154, allocations: 99.78 kB / 494 MB, free: 5.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1156, allocations: 207.5 kB / 494.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1157, allocations: 0 / 494.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1158, allocations: 24 kB / 494.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1159, allocations: 83.62 kB / 494.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.116, allocations: 128.7 kB / 494.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1163, allocations: 238.9 kB / 494.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1164, allocations: 0 / 494.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1164, allocations: 0 / 494.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1164, allocations: 0 / 494.6 MB, free: 4.594 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.0007473/0.1171, allocations: 0.589 MB / 495.2 MB, free: 3.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1172, allocations: 12.03 kB / 495.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.1173, allocations: 36.47 kB / 495.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.1175, allocations: 300.1 kB / 495.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1176, allocations: 4.375 kB / 495.6 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1176, allocations: 8.312 kB / 495.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1178, allocations: 53.62 kB / 495.6 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1178, allocations: 7.984 kB / 495.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1178, allocations: 4 kB / 495.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1178, allocations: 0 / 495.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1179, allocations: 27.98 kB / 495.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.1185, allocations: 400.6 kB / 496.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1188, allocations: 54.5 kB / 496.1 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.1188, allocations: 20.94 kB / 496.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1189, allocations: 0 / 496.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1189, allocations: 34.56 kB / 496.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1189, allocations: 0 / 496.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007159/0.1196, allocations: 251.9 kB / 496.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1197, allocations: 55.41 kB / 496.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008088/0.1205, allocations: 0.8574 MB / 497.3 MB, free: 1.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1205, allocations: 25.7 kB / 497.4 MB, free: 1.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1207, allocations: 220.1 kB / 497.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1207, allocations: 15.81 kB / 497.6 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.1207, allocations: 0 / 497.6 MB, free: 1.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1209, allocations: 358.8 kB / 497.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.121, allocations: 27.97 kB / 498 MB, free: 1.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.121, allocations: 35.86 kB / 498 MB, free: 1.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1212, allocations: 60.83 kB / 498.1 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1212, allocations: 0 / 498.1 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002292/0.1214, allocations: 137.3 kB / 498.2 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1215, allocations: 4 kB / 498.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1215, allocations: 0 / 498.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1215, allocations: 0 / 498.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.1216, allocations: 12 kB / 498.2 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1216, allocations: 0 / 498.2 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.1217, allocations: 15.92 kB / 498.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1217, allocations: 4 kB / 498.2 MB, free: 0.7852 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 (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.0001797/0.1219, allocations: 221.6 kB / 498.4 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.1219, allocations: 43.44 kB / 498.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.1222, allocations: 149 kB / 498.6 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1222, allocations: 0 / 498.6 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1222, allocations: 0 / 498.6 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1222, allocations: 3.938 kB / 498.6 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.1228, allocations: 466.4 kB / 499.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1228, allocations: 4 kB / 499.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.1229, allocations: 15.98 kB / 499.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1229, allocations: 288 / 499.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1229, allocations: 11.88 kB / 499.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1229, allocations: 0 / 499.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1229, allocations: 0 / 499.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.1232, allocations: 235.1 kB / 499.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.1233, allocations: 108.7 kB / 499.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1233, allocations: 11.92 kB / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.1234, allocations: 8 kB / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1235, allocations: 0 / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.1235, allocations: 4 kB / 499.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006114/0.1241, allocations: 0.6511 MB / 0.4884 GB, free: 14.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1241, allocations: 0 / 0.4884 GB, free: 14.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.1244, allocations: 20 kB / 0.4884 GB, free: 14.75 MB / 346.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.001047/0.1254, allocations: 467.3 kB / 0.4889 GB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1256, allocations: 55.97 kB / 0.4889 GB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1257, allocations: 0 / 0.4889 GB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.1258, allocations: 39.91 kB / 0.489 GB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1261, allocations: 21.97 kB / 0.489 GB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1272, allocations: 0.8726 MB / 0.4898 GB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1276, allocations: 0.8302 MB / 0.4906 GB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.697e-05/0.1277, allocations: 16.23 kB / 0.4907 GB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.1277, allocations: 19.38 kB / 0.4907 GB, free: 12.52 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1278, allocations: 0 / 0.4907 GB, free: 12.52 MB / 346.7 MB Notification: Performance of Templates: time 0.004719/0.1325, allocations: 1.358 MB / 0.492 GB, free: 11.16 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches