Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001519, allocations: 105.8 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.001886/0.001886, allocations: 211.8 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.393/1.393, 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.2372/0.2372, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 80.64 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1242, allocations: 62.44 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003394/0.1276, allocations: 1.742 MB / 482.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1294, allocations: 1.029 MB / 483.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1296, allocations: 3.938 kB / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.1299, allocations: 107.6 kB / 483.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.1304, allocations: 127.5 kB / 483.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1307, allocations: 79.67 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.131, allocations: 115.7 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1311, allocations: 15.98 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1313, allocations: 59.77 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1314, allocations: 71.69 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1314, allocations: 4 kB / 484.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1316, allocations: 59.97 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.1317, allocations: 31.86 kB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.1318, allocations: 43.67 kB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1321, allocations: 143.8 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1321, allocations: 3.938 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1321, allocations: 0 / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1321, allocations: 0 / 484.3 MB, free: 1.645 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006544/0.1328, allocations: 442.8 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1328, allocations: 8.031 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1329, allocations: 16.75 kB / 484.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1331, allocations: 219.9 kB / 485 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1332, allocations: 8.359 kB / 485 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1332, allocations: 12.06 kB / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1334, allocations: 57.67 kB / 485.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1334, allocations: 0 / 485.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1334, allocations: 3.984 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1334, allocations: 4 kB / 485.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.1335, allocations: 23.92 kB / 485.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.134, allocations: 316.7 kB / 485.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1343, allocations: 54.56 kB / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.1343, allocations: 28.97 kB / 485.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1344, allocations: 3.938 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.1346, allocations: 71.39 kB / 485.6 MB, free: 240 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1346, allocations: 0 / 485.6 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008442/0.1355, allocations: 241.7 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1355, allocations: 59.34 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1358, allocations: 251.1 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1358, allocations: 29.7 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.1359, allocations: 112.1 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.136, allocations: 35.55 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.1361, allocations: 25.72 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1362, allocations: 326.8 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.1363, allocations: 28 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1364, allocations: 61.62 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1366, allocations: 81.7 kB / 486.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1366, allocations: 8 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002443/0.1369, allocations: 125.4 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1369, allocations: 6.5 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1369, allocations: 0 / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1369, allocations: 4 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.137, allocations: 19.98 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.137, allocations: 3.938 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.1371, allocations: 8 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1371, allocations: 4 kB / 487 MB, free: 14.76 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 (13): * Single equations (assignments): 13 * 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.0001109/0.1372, allocations: 137.8 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.1372, allocations: 15.81 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.1373, allocations: 33.34 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1373, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.1373, allocations: 7.938 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1374, allocations: 0 / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.1379, allocations: 463.9 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1379, allocations: 0 / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.138, allocations: 15.98 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.138, allocations: 0 / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.138, allocations: 4 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.138, allocations: 3.984 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.138, allocations: 0 / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1383, allocations: 245 kB / 487.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.1384, allocations: 88.92 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1384, allocations: 4 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.1385, allocations: 0 / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.1386, allocations: 11.98 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1386, allocations: 7.938 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1388, allocations: 192.2 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1388, allocations: 4 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1391, allocations: 31.98 kB / 488.2 MB, free: 13.41 MB / 366.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: 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 (11): * Single equations (assignments): 9 * 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.001198/0.1403, allocations: 0.4925 MB / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1405, allocations: 87.84 kB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1405, allocations: 0 / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.872e-05/0.1406, allocations: 39.92 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.141, allocations: 42.28 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.1416, allocations: 330.6 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.142, allocations: 0.7236 MB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.142, allocations: 19.38 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.142, allocations: 0 / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Templates: time 0.00462/0.1467, allocations: 2.304 MB / 492.2 MB, free: 9.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches