Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, 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.001227/0.001227, 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.355/1.355, 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.2268/0.2268, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 82.05 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1258, allocations: 62.44 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003569/0.1294, allocations: 1.728 MB / 482.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1316, allocations: 1.027 MB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1317, allocations: 3.938 kB / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1321, allocations: 35.77 kB / 483.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.1326, allocations: 95.59 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.133, allocations: 75.69 kB / 483.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.1332, allocations: 103.7 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1333, allocations: 16 kB / 483.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1335, allocations: 39.8 kB / 483.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1336, allocations: 47.7 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1336, allocations: 4 kB / 483.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1338, allocations: 43.92 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.1339, allocations: 11.94 kB / 483.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.134, allocations: 35.78 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.1343, allocations: 115.9 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1343, allocations: 0 / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1343, allocations: 4 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1343, allocations: 3.938 kB / 484.1 MB, free: 1.887 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.0008127/0.1351, allocations: 411 kB / 484.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1352, allocations: 8.031 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.1353, allocations: 12.75 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.1356, allocations: 212 kB / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1356, allocations: 384 / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.1357, allocations: 8.125 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1358, allocations: 57.67 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1359, allocations: 3.984 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1359, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1359, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.637e-05/0.136, allocations: 19.98 kB / 484.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.1365, allocations: 284.8 kB / 485.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1367, allocations: 62.67 kB / 485.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.1367, allocations: 16.86 kB / 485.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1368, allocations: 7.984 kB / 485.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.137, allocations: 67.38 kB / 485.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.137, allocations: 0 / 485.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007541/0.1378, allocations: 169.2 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1378, allocations: 59.41 kB / 485.4 MB, free: 340 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.138, allocations: 179.3 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1381, allocations: 41.58 kB / 485.7 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.1382, allocations: 104.1 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1382, allocations: 19.75 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1383, allocations: 21.7 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1384, allocations: 326.8 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.1385, allocations: 24 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.65e-05/0.1386, allocations: 33.7 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1387, allocations: 62.27 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1387, allocations: 0 / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.1389, allocations: 109.3 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1389, allocations: 8 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1389, allocations: 4 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.139, allocations: 4.031 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.1391, allocations: 15.94 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1391, allocations: 0 / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.1391, allocations: 15.92 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1392, allocations: 4 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.0001088/0.1393, allocations: 117.8 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1393, allocations: 7.906 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.1394, allocations: 21.39 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1394, allocations: 8 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1394, allocations: 0 / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1394, allocations: 3.938 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.1399, allocations: 387.2 kB / 486.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.1399, allocations: 4 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.14, allocations: 11.98 kB / 486.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.351e-06/0.14, allocations: 4 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.14, allocations: 3.938 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.14, allocations: 4.031 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.14, allocations: 4 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.1403, allocations: 204.5 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.1404, allocations: 81.02 kB / 487.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1405, allocations: 11.92 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.1405, allocations: 0 / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1406, allocations: 8 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.1406, allocations: 11.98 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1408, allocations: 139.9 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1408, allocations: 0 / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.141, allocations: 27.98 kB / 487.4 MB, free: 14.18 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.001173/0.1422, allocations: 455.2 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1424, allocations: 55.92 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1425, allocations: 0 / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.932e-05/0.1425, allocations: 35.92 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1429, allocations: 35.86 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.1435, allocations: 253 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1439, allocations: 0.708 MB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.144, allocations: 19.42 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.144, allocations: 0 / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004404/0.1484, allocations: 1.926 MB / 490.9 MB, free: 10.81 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches