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.001837/0.001837, allocations: 100.5 kB / 17.85 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0024/0.0024, allocations: 209.7 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.241/2.241, allocations: 227.4 MB / 246.9 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3881/0.3881, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 85.03 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 62.44 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00358/0.1394, allocations: 1.796 MB / 481.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1412, allocations: 1.017 MB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.1413, allocations: 0 / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1417, allocations: 39.84 kB / 482.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.1421, allocations: 71.73 kB / 482.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1423, allocations: 63.88 kB / 482.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1426, allocations: 103.6 kB / 483 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1427, allocations: 16 kB / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1428, allocations: 39.78 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.1429, allocations: 31.78 kB / 483.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1429, allocations: 4 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.143, allocations: 39.98 kB / 483.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.1431, allocations: 27.84 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1432, allocations: 23.81 kB / 483.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1434, allocations: 96.03 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1434, allocations: 0 / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1434, allocations: 0 / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1434, allocations: 4 kB / 483.3 MB, free: 2.305 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.000611/0.144, allocations: 407.1 kB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1441, allocations: 8.875 kB / 483.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.1441, allocations: 16.75 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1444, allocations: 200.1 kB / 483.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1444, allocations: 8.375 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1445, allocations: 8.062 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1446, allocations: 53.67 kB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1447, allocations: 8 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1447, allocations: 0 / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1447, allocations: 4 kB / 484 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.1448, allocations: 15.98 kB / 484 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1452, allocations: 288.9 kB / 484.3 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1454, allocations: 70.55 kB / 484.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.1454, allocations: 16.86 kB / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1455, allocations: 0 / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.1457, allocations: 67.39 kB / 484.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1457, allocations: 0 / 484.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006138/0.1463, allocations: 169.2 kB / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1464, allocations: 55.41 kB / 484.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1466, allocations: 187.3 kB / 484.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1466, allocations: 25.7 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.1467, allocations: 104 kB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1467, allocations: 19.75 kB / 485 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.1468, allocations: 33.64 kB / 485 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1469, allocations: 326.8 kB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.1469, allocations: 19.94 kB / 485.4 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.802e-05/0.147, allocations: 41.78 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1472, allocations: 57.61 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1472, allocations: 0 / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.1474, allocations: 105.4 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1474, allocations: 4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1474, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1474, allocations: 3.984 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.1475, allocations: 20.03 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1476, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.1476, allocations: 3.938 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1476, allocations: 4 kB / 485.6 MB, free: 15.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 (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.0001086/0.1477, allocations: 129.8 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.1478, allocations: 7.906 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1478, allocations: 21.39 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1478, allocations: 3.984 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1479, allocations: 4 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1479, allocations: 3.938 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.1483, allocations: 395.2 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1483, allocations: 384 / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.1484, allocations: 8 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1484, allocations: 7.984 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1484, allocations: 3.938 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1484, allocations: 8.172 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1484, allocations: 4.031 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1487, allocations: 204.2 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.1487, allocations: 85.02 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1488, allocations: 3.938 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.1489, allocations: 11.98 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.1489, allocations: 0 / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1489, allocations: 8 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1491, allocations: 139.9 kB / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1491, allocations: 0 / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1494, allocations: 24 kB / 486.7 MB, free: 14.6 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.001166/0.1505, allocations: 452.5 kB / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1507, allocations: 55.91 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1508, allocations: 4 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.1508, allocations: 31.92 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1512, allocations: 29.39 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.1517, allocations: 282.7 kB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.152, allocations: 0.7043 MB / 488.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.1521, allocations: 19.44 kB / 488.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1521, allocations: 0 / 488.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004087/0.1562, allocations: 1.92 MB / 490.1 MB, free: 11.23 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