Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008859/0.0008859, allocations: 95 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003146, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002226/0.1412, allocations: 1.318 MB / 484.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1431, allocations: 1.128 MB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.1432, allocations: 3.938 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.1434, allocations: 31.84 kB / 485.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.1438, allocations: 51.84 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1441, allocations: 111.3 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1443, allocations: 63.81 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1444, allocations: 11.98 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.1445, allocations: 23.86 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1447, allocations: 35.78 kB / 485.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1447, allocations: 4 kB / 485.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.1449, allocations: 83.94 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.145, allocations: 15.98 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.145, allocations: 45.52 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.1453, allocations: 139.6 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1453, allocations: 0 / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1453, allocations: 0 / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1453, allocations: 0 / 486.1 MB, free: 1.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005192/0.1459, allocations: 395.5 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1459, allocations: 8.875 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.146, allocations: 8.844 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1462, allocations: 196.1 kB / 486.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1462, allocations: 384 / 486.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1463, allocations: 8.375 kB / 486.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1464, allocations: 63.47 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1465, allocations: 4 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1465, allocations: 4 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1465, allocations: 0 / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1466, allocations: 31.97 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.1471, allocations: 288.9 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.1473, allocations: 46.44 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.1474, allocations: 24.94 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1474, allocations: 0 / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1475, allocations: 30.56 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1475, allocations: 4 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000662/0.1481, allocations: 177.3 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.1482, allocations: 77.11 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1484, allocations: 141.8 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1484, allocations: 25.7 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.1485, allocations: 104 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1485, allocations: 19.75 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.1486, allocations: 9.719 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1487, allocations: 326.8 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.1488, allocations: 23.98 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.1489, allocations: 41.69 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1491, allocations: 64.77 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1491, allocations: 0 / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002383/0.1493, allocations: 97.59 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1494, allocations: 4 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1494, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1494, allocations: 4 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.1495, allocations: 8 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1495, allocations: 4 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.1496, allocations: 7.984 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1496, allocations: 7.938 kB / 488.3 MB, free: 14.64 MB / 366.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 (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.000101/0.1497, allocations: 117.8 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1497, allocations: 7.906 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.15, allocations: 106 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.15, allocations: 4 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1501, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1501, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.1506, allocations: 370.4 kB / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1506, allocations: 0 / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.1507, allocations: 24.3 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1507, allocations: 0 / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1507, allocations: 4.281 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1508, allocations: 7.938 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1508, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.151, allocations: 195.4 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.1511, allocations: 88.98 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1511, allocations: 0 / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.1512, allocations: 19.88 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1513, allocations: 3.984 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1513, allocations: 4 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1514, allocations: 109.3 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1514, allocations: 4 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1517, allocations: 43.92 kB / 489.4 MB, free: 13.45 MB / 366.1 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.001242/0.153, allocations: 492.6 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.1533, allocations: 55.97 kB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1533, allocations: 0 / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.1534, allocations: 39.91 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1537, allocations: 19.88 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.1542, allocations: 196.7 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1545, allocations: 0.6887 MB / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.988e-05/0.1546, allocations: 15.98 kB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.1547, allocations: 19.42 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1547, allocations: 0 / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004841/0.1595, allocations: 1.72 MB / 492.7 MB, free: 10.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches