Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 170 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.329/1.329, allocations: 205.6 MB / 222.4 MB, free: 8.934 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.0007828/0.0007828, allocations: 83.33 kB / 270.8 MB, free: 8.129 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.3315/0.3315, allocations: 43.67 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000527/0.0005276, allocations: 15.98 kB / 432.3 MB, free: 5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1301, allocations: 58.83 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00183/0.132, allocations: 1.274 MB / 492.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.1326, allocations: 400.9 kB / 492.8 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.1326, allocations: 4 kB / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.1331, allocations: 447.2 kB / 493.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1334, allocations: 247.5 kB / 493.5 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1338, allocations: 135.8 kB / 493.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.134, allocations: 155.7 kB / 493.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.1341, allocations: 15.92 kB / 493.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.1342, allocations: 107.8 kB / 493.9 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1344, allocations: 195.6 kB / 494.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1344, allocations: 4 kB / 494.1 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.1345, allocations: 20 kB / 494.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.954e-05/0.1346, allocations: 75.69 kB / 494.2 MB, free: 6.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.479e-05/0.1347, allocations: 124.8 kB / 494.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1349, allocations: 231.2 kB / 494.5 MB, free: 6.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1349, allocations: 4 kB / 494.5 MB, free: 6.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1349, allocations: 4 kB / 494.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1349, allocations: 0 / 494.6 MB, free: 6.594 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006246/0.1356, allocations: 0.5833 MB / 495.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1356, allocations: 8.031 kB / 495.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.1357, allocations: 36.47 kB / 495.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.136, allocations: 296.1 kB / 495.5 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.136, allocations: 4.375 kB / 495.5 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1361, allocations: 384 / 495.5 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1362, allocations: 61.8 kB / 495.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1362, allocations: 3.938 kB / 495.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1363, allocations: 0 / 495.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1363, allocations: 3.984 kB / 495.5 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/0.1364, allocations: 27.98 kB / 495.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.1369, allocations: 384.8 kB / 495.9 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.137, allocations: 34.56 kB / 496 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1371, allocations: 20.86 kB / 496 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1371, allocations: 3.938 kB / 496 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1372, allocations: 38.55 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.1372, allocations: 0 / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002916/0.1375, allocations: 101.1 kB / 496.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1375, allocations: 55.39 kB / 496.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000845/0.1384, allocations: 0.8574 MB / 497 MB, free: 3.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1384, allocations: 25.7 kB / 497.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.1386, allocations: 228.2 kB / 497.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1386, allocations: 3.906 kB / 497.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1386, allocations: 0 / 497.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1388, allocations: 362.7 kB / 497.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.1389, allocations: 15.92 kB / 497.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.1389, allocations: 12 kB / 497.7 MB, free: 3.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/0.139, allocations: 32.91 kB / 497.7 MB, free: 3.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.139, allocations: 4 kB / 497.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001367/0.1392, allocations: 93.2 kB / 497.8 MB, free: 3.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1392, allocations: 4 kB / 497.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1392, allocations: 0 / 497.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1392, allocations: 0 / 497.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.1393, allocations: 12.03 kB / 497.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1393, allocations: 3.984 kB / 497.8 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1393, allocations: 11.83 kB / 497.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1394, allocations: 4 kB / 497.8 MB, free: 3.078 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 (2): * Single equations (assignments): 2 * 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.0001645/0.1395, allocations: 209.7 kB / 498 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.1396, allocations: 35.53 kB / 498.1 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.1398, allocations: 120.6 kB / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1398, allocations: 0 / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1398, allocations: 0 / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1398, allocations: 0 / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.1401, allocations: 289.5 kB / 498.5 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1401, allocations: 0 / 498.5 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.1401, allocations: 4 kB / 498.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1401, allocations: 0 / 498.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1401, allocations: 0 / 498.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1402, allocations: 4 kB / 498.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.1402, allocations: 8.031 kB / 498.5 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1403, allocations: 198.8 kB / 498.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1404, allocations: 108.6 kB / 498.8 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1405, allocations: 4 kB / 498.8 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.1405, allocations: 8.016 kB / 498.8 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1406, allocations: 4 kB / 498.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.1406, allocations: 0 / 498.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005499/0.1411, allocations: 0.6433 MB / 499.5 MB, free: 1.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1411, allocations: 0 / 499.5 MB, free: 1.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.1414, allocations: 23.89 kB / 499.5 MB, free: 1.34 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 (2): * Single equations (assignments): 2 * 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.0007432/0.1421, allocations: 401.1 kB / 499.9 MB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1422, allocations: 31.92 kB / 499.9 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1423, allocations: 3.938 kB / 499.9 MB, free: 1.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.1423, allocations: 20.05 kB / 499.9 MB, free: 1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1427, allocations: 21.95 kB / 499.9 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.1436, allocations: 0.8445 MB / 0.4891 GB, free: 104 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1777/0.3214, allocations: 0.8121 MB / 0.4898 GB, free: 42.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.041e-05/0.3215, allocations: 11.64 kB / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.3215, allocations: 13.27 kB / 0.4899 GB, free: 42.78 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3215, allocations: 2.969 kB / 0.4899 GB, free: 42.78 MB / 378.7 MB Notification: Performance of Templates: time 0.004434/0.326, allocations: 1.162 MB / 0.491 GB, free: 42.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches