Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.09 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 86.05 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1309, allocations: 62.43 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003511/0.1344, allocations: 1.72 MB / 482.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1362, allocations: 1.029 MB / 483.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.831e-05/0.1363, allocations: 0 / 483.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.1366, allocations: 39.77 kB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.137, allocations: 91.59 kB / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1373, allocations: 79.67 kB / 483.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1375, allocations: 107.7 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1377, allocations: 12 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.1378, allocations: 39.8 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.1379, allocations: 39.7 kB / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1379, allocations: 4 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.138, allocations: 39.98 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.1381, allocations: 27.91 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.1381, allocations: 35.75 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1384, allocations: 115.9 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1384, allocations: 4 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1384, allocations: 0 / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1384, allocations: 0 / 484.1 MB, free: 1.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005992/0.139, allocations: 414.9 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1391, allocations: 15.97 kB / 484.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.1391, allocations: 8.844 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1394, allocations: 216.7 kB / 484.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1394, allocations: 4.375 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1395, allocations: 8.125 kB / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1396, allocations: 53.67 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1397, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1397, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1397, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.1398, allocations: 19.98 kB / 484.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.1401, allocations: 300.7 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1403, allocations: 50.69 kB / 485.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.1404, allocations: 20.84 kB / 485.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1404, allocations: 4 kB / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.1406, allocations: 67.33 kB / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1406, allocations: 4 kB / 485.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005245/0.1411, allocations: 177.4 kB / 485.4 MB, free: 396 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.1412, allocations: 55.41 kB / 485.5 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1414, allocations: 190.4 kB / 485.7 MB, free: 128 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1414, allocations: 33.7 kB / 485.7 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.1415, allocations: 104.1 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1415, allocations: 19.72 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.1416, allocations: 25.7 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1417, allocations: 330.8 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.1418, allocations: 16 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.1418, allocations: 41.61 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1419, allocations: 61.64 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.142, allocations: 0 / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.1421, allocations: 101.5 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1422, allocations: 10.5 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1422, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1422, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.1423, allocations: 19.94 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1423, allocations: 0 / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.1424, allocations: 11.92 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1424, allocations: 4.188 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001056/0.1425, allocations: 120.9 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1425, allocations: 27.86 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.1426, allocations: 21.33 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1426, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1426, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1426, allocations: 7.938 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.143, allocations: 391.2 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.143, allocations: 0 / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.1431, allocations: 11.98 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1431, allocations: 8.031 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1431, allocations: 3.938 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1431, allocations: 3.938 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1431, allocations: 0 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1434, allocations: 204.5 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1434, allocations: 88.91 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1435, allocations: 11.94 kB / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-05/0.1435, allocations: 0 / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1436, allocations: 11.98 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1436, allocations: 4 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1437, allocations: 144.2 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1437, allocations: 0 / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.144, allocations: 27.98 kB / 487.5 MB, free: 14.15 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001049/0.1451, allocations: 462.6 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1453, allocations: 67.89 kB / 488 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1453, allocations: 0 / 488 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.1454, allocations: 27.98 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1457, allocations: 30.67 kB / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.1462, allocations: 264.6 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1465, allocations: 0.7041 MB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.1466, allocations: 15.44 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1466, allocations: 4 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Templates: time 0.003888/0.1505, allocations: 1.951 MB / 491 MB, free: 10.74 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches