Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 101.4 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3538/0.3538, allocations: 43.5 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 55.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1408, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003499/0.1443, allocations: 1.675 MB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007701/0.1451, allocations: 319.6 kB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.1452, allocations: 8 kB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.146, allocations: 455.2 kB / 489.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.1465, allocations: 239.5 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1469, allocations: 107.8 kB / 489.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1472, allocations: 159.7 kB / 489.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1473, allocations: 12.19 kB / 490 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1475, allocations: 107.8 kB / 490.1 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.1478, allocations: 207.6 kB / 490.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.1479, allocations: 0 / 490.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.148, allocations: 31.98 kB / 490.3 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1482, allocations: 87.62 kB / 490.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1483, allocations: 99 kB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.1487, allocations: 247.2 kB / 490.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1487, allocations: 0 / 490.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1487, allocations: 4 kB / 490.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1487, allocations: 0 / 490.7 MB, free: 8.824 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.001097/0.1498, allocations: 0.6372 MB / 491.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1499, allocations: 8.031 kB / 491.4 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.15, allocations: 44.38 kB / 491.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.1503, allocations: 296.2 kB / 491.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1504, allocations: 4.375 kB / 491.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1504, allocations: 384 / 491.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1506, allocations: 61.61 kB / 491.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1506, allocations: 0 / 491.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1506, allocations: 4 kB / 491.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1507, allocations: 3.938 kB / 491.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1508, allocations: 35.97 kB / 491.8 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.1514, allocations: 388.6 kB / 492.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1516, allocations: 46.55 kB / 492.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.1517, allocations: 28.88 kB / 492.3 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1517, allocations: 0 / 492.3 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.1517, allocations: 34.56 kB / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1518, allocations: 0 / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008845/0.1526, allocations: 287.9 kB / 492.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1527, allocations: 51.41 kB / 492.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.1535, allocations: 0.8573 MB / 493.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1536, allocations: 29.69 kB / 493.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1537, allocations: 204.1 kB / 493.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.1538, allocations: 23.66 kB / 493.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1538, allocations: 25.7 kB / 493.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.154, allocations: 362.8 kB / 494.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1541, allocations: 27.97 kB / 494.1 MB, free: 5.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1542, allocations: 35.91 kB / 494.2 MB, free: 5.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1544, allocations: 77.05 kB / 494.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1544, allocations: 0 / 494.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002884/0.1547, allocations: 149 kB / 494.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1547, allocations: 4 kB / 494.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1547, allocations: 0 / 494.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1548, allocations: 0 / 494.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1549, allocations: 23.98 kB / 494.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1549, allocations: 7.938 kB / 494.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.155, allocations: 11.92 kB / 494.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.155, allocations: 4 kB / 494.4 MB, free: 4.871 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 0.0001848/0.1552, allocations: 217.8 kB / 494.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.1552, allocations: 39.44 kB / 494.7 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.1556, allocations: 165.4 kB / 494.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1556, allocations: 0 / 494.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1556, allocations: 0 / 494.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1556, allocations: 7.938 kB / 494.9 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.1562, allocations: 494.4 kB / 495.4 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1562, allocations: 0 / 495.4 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/0.1563, allocations: 23.98 kB / 495.4 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1563, allocations: 0 / 495.4 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1563, allocations: 7.938 kB / 495.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1563, allocations: 3.938 kB / 495.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1563, allocations: 0 / 495.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.1571, allocations: 0.9104 MB / 496.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.1572, allocations: 112.5 kB / 496.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1572, allocations: 4 kB / 496.4 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.1573, allocations: 7.984 kB / 496.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1574, allocations: 7.938 kB / 496.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1574, allocations: 3.984 kB / 496.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005477/0.1579, allocations: 0.6511 MB / 497.1 MB, free: 2.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1579, allocations: 0 / 497.1 MB, free: 2.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.1583, allocations: 28 kB / 497.1 MB, free: 2.059 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.0009652/0.1593, allocations: 401.8 kB / 497.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1596, allocations: 71.94 kB / 497.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1596, allocations: 4 kB / 497.6 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1597, allocations: 47.91 kB / 497.6 MB, free: 1.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.1602, allocations: 25.84 kB / 497.6 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1615, allocations: 0.9955 MB / 498.6 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.1619, allocations: 0.8262 MB / 499.5 MB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.162, allocations: 11.98 kB / 499.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.162, allocations: 11.44 kB / 499.5 MB, free: 15.65 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.162, allocations: 0 / 499.5 MB, free: 15.65 MB / 394.7 MB Notification: Performance of Templates: time 0.004899/0.1669, allocations: 1.487 MB / 0.4892 GB, free: 14.16 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches