Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 93.92 kB / 16.98 MB, free: 5.938 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.001004/0.001004, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.44/1.44, allocations: 223.2 MB / 241.8 MB, free: 364 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.2257/0.2257, allocations: 44.23 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002022/0.1446, allocations: 1.275 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.1454, allocations: 371.5 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.1455, allocations: 0 / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.1459, allocations: 63.78 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1461, allocations: 47.88 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1465, allocations: 83.7 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1467, allocations: 43.95 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1468, allocations: 16.16 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.1469, allocations: 27.86 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.147, allocations: 35.89 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1471, allocations: 0 / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1472, allocations: 31.88 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.1473, allocations: 11.98 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.1473, allocations: 37.64 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1475, allocations: 75.88 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1475, allocations: 0 / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1476, allocations: 0 / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1476, allocations: 0 / 473.6 MB, free: 11.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000701/0.1483, allocations: 387.3 kB / 473.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.1483, allocations: 8.562 kB / 473.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.1484, allocations: 11.84 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1487, allocations: 190.9 kB / 474.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1487, allocations: 7.938 kB / 474.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1487, allocations: 4 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1489, allocations: 57.62 kB / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.1489, allocations: 4 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1489, allocations: 0 / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1489, allocations: 0 / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1491, allocations: 31.97 kB / 474.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.1496, allocations: 296.7 kB / 474.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1497, allocations: 42.56 kB / 474.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.1498, allocations: 0 / 474.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1498, allocations: 34.56 kB / 474.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1498, allocations: 4 kB / 474.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001049/0.1509, allocations: 249.5 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.1509, allocations: 51.41 kB / 474.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.1512, allocations: 200.4 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1512, allocations: 25.7 kB / 475.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.1513, allocations: 100.1 kB / 475.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.1513, allocations: 35.61 kB / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1514, allocations: 0 / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1516, allocations: 326.8 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.1516, allocations: 27.98 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.1517, allocations: 32.06 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/0.1518, allocations: 32.12 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1518, allocations: 0 / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000226/0.1521, allocations: 105.6 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1521, allocations: 15.92 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1521, allocations: 0 / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1521, allocations: 0 / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1522, allocations: 16 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1523, allocations: 3.984 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.1523, allocations: 4 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1523, allocations: 4 kB / 475.8 MB, free: 9.141 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 (8): * Single equations (assignments): 8 * 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.0001406/0.1525, allocations: 137.7 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.1525, allocations: 11.89 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.1528, allocations: 126.2 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1529, allocations: 0 / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1529, allocations: 7.984 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.1529, allocations: 4 kB / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.1534, allocations: 403.3 kB / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1534, allocations: 0 / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.1535, allocations: 19.98 kB / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1535, allocations: 4.031 kB / 476.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1535, allocations: 4 kB / 476.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1535, allocations: 4 kB / 476.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1535, allocations: 0 / 476.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.1538, allocations: 225.9 kB / 476.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.1539, allocations: 96.91 kB / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1539, allocations: 4 kB / 476.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.154, allocations: 4 kB / 476.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.1541, allocations: 11.94 kB / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.1541, allocations: 0 / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1542, allocations: 158.9 kB / 477 MB, free: 7.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1542, allocations: 0 / 477 MB, free: 7.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1545, allocations: 16 kB / 477 MB, free: 7.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001086/0.1556, allocations: 469.4 kB / 477.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1558, allocations: 67.91 kB / 477.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1558, allocations: 0 / 477.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.1559, allocations: 35.97 kB / 477.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.1562, allocations: 23.94 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.1566, allocations: 249.9 kB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1569, allocations: 0.7121 MB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.157, allocations: 4.672 kB / 478.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.157, allocations: 19.44 kB / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.157, allocations: 0 / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of Templates: time 0.00414/0.1612, allocations: 1.219 MB / 479.8 MB, free: 5.148 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches