Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008055/0.0008056, allocations: 98.97 kB / 17.01 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 180 kB / 17.89 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 241.9 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2159/0.2159, allocations: 44.25 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003576, allocations: 11.98 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 61.94 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002186/0.1373, allocations: 1.333 MB / 472.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.1381, allocations: 411.7 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.1381, allocations: 11.88 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.1387, allocations: 439.2 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.139, allocations: 243.5 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.1394, allocations: 155.2 kB / 474.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.1396, allocations: 143.6 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1397, allocations: 15.98 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1399, allocations: 99.8 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1401, allocations: 167.7 kB / 474.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1401, allocations: 0 / 474.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1403, allocations: 51.91 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1404, allocations: 79.75 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1404, allocations: 73.45 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1407, allocations: 192 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1408, allocations: 3.938 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.131e-06/0.1408, allocations: 7.984 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1408, allocations: 0 / 475 MB, free: 10.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007576/0.1415, allocations: 0.6027 MB / 475.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1416, allocations: 8.562 kB / 475.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.1417, allocations: 43.44 kB / 475.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1419, allocations: 275.4 kB / 475.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1419, allocations: 7.938 kB / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.142, allocations: 4 kB / 475.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1422, allocations: 69.62 kB / 476 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1422, allocations: 7.906 kB / 476 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1422, allocations: 0 / 476 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1422, allocations: 4 kB / 476 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1424, allocations: 51.95 kB / 476 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.1429, allocations: 416.7 kB / 476.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1432, allocations: 62.55 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.1433, allocations: 32.97 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.1433, allocations: 0 / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1433, allocations: 38.59 kB / 476.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.1433, allocations: 0 / 476.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001571/0.1449, allocations: 0.5702 MB / 477.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.145, allocations: 51.41 kB / 477.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009924/0.146, allocations: 0.8573 MB / 478.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.146, allocations: 29.7 kB / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1462, allocations: 223.9 kB / 478.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.1462, allocations: 35.55 kB / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.1463, allocations: 0 / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.1465, allocations: 362.8 kB / 478.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.1467, allocations: 59.95 kB / 478.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1468, allocations: 63.97 kB / 478.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.147, allocations: 67.95 kB / 478.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.147, allocations: 0 / 478.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004735/0.1475, allocations: 213.3 kB / 479.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1475, allocations: 8 kB / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1475, allocations: 0 / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1475, allocations: 4 kB / 479.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1476, allocations: 35.91 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1477, allocations: 0 / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.1477, allocations: 19.98 kB / 479.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1478, allocations: 3.953 kB / 479.2 MB, free: 5.906 MB / 350.1 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.148, allocations: 221.7 kB / 479.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.148, allocations: 43.44 kB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.1485, allocations: 245.4 kB / 479.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1485, allocations: 0 / 479.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1485, allocations: 0 / 479.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1485, allocations: 4 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.1494, allocations: 0.613 MB / 480.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1494, allocations: 0 / 480.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1495, allocations: 31.97 kB / 480.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1496, allocations: 8.062 kB / 480.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1496, allocations: 4 kB / 480.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1496, allocations: 7.891 kB / 480.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1496, allocations: 4.188 kB / 480.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.15, allocations: 308.6 kB / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.1501, allocations: 116.5 kB / 480.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1501, allocations: 4 kB / 480.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1502, allocations: 19.98 kB / 480.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.1503, allocations: 15.88 kB / 480.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1503, allocations: 4 kB / 480.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005813/0.1509, allocations: 0.6511 MB / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1509, allocations: 0 / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1512, allocations: 32 kB / 481.5 MB, free: 3.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.1522, allocations: 465.3 kB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.1525, allocations: 143.8 kB / 482.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1525, allocations: 0 / 482.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1527, allocations: 80.02 kB / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1531, allocations: 21.97 kB / 482.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1543, allocations: 0.9172 MB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.1548, allocations: 0.8457 MB / 483.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1549, allocations: 32.38 kB / 484 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.155, allocations: 15.44 kB / 484 MB, free: 1.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.155, allocations: 0 / 484 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Templates: time 0.006133/0.1611, allocations: 1.725 MB / 485.7 MB, free: 15.36 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches