Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2483/0.2483, allocations: 46.12 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 78.42 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1353, allocations: 62.44 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003295/0.1387, allocations: 1.781 MB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1404, allocations: 1.021 MB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.1404, allocations: 4 kB / 482.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1407, allocations: 35.83 kB / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.141, allocations: 79.69 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.1412, allocations: 63.86 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.1413, allocations: 91.77 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.323e-05/0.1414, allocations: 11.94 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.236e-05/0.1415, allocations: 39.78 kB / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.1415, allocations: 39.78 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1416, allocations: 0 / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.1417, allocations: 39.98 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.1417, allocations: 19.92 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.1418, allocations: 35.73 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.142, allocations: 111.9 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.142, allocations: 0 / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.142, allocations: 0 / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.142, allocations: 0 / 482.7 MB, free: 2.348 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.0005399/0.1425, allocations: 407.1 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1426, allocations: 12.88 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.1426, allocations: 8.844 kB / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1428, allocations: 204.1 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1429, allocations: 4.375 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1429, allocations: 8.125 kB / 483.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.143, allocations: 57.61 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1431, allocations: 0 / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1431, allocations: 0 / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1431, allocations: 0 / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.666e-05/0.1432, allocations: 23.98 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.1436, allocations: 292.7 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1437, allocations: 62.61 kB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1438, allocations: 20.84 kB / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1438, allocations: 0 / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.1441, allocations: 71.39 kB / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1441, allocations: 0 / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005117/0.1446, allocations: 173.5 kB / 484 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1446, allocations: 51.41 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1448, allocations: 170.2 kB / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1448, allocations: 29.7 kB / 484.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.1449, allocations: 100.1 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1449, allocations: 23.66 kB / 484.3 MB, free: 472 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.145, allocations: 29.7 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1451, allocations: 326.8 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/0.1452, allocations: 16.06 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.1453, allocations: 45.64 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1454, allocations: 57.7 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1454, allocations: 3.938 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.1456, allocations: 105.5 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1457, allocations: 6.656 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1457, allocations: 0 / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1457, allocations: 3.984 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.1458, allocations: 19.98 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1458, allocations: 0 / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1458, allocations: 3.938 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1459, allocations: 8.031 kB / 485 MB, free: 15.82 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 9.237e-05/0.1459, allocations: 132.6 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.146, allocations: 7.906 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.146, allocations: 12.72 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.1461, allocations: 7.984 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1461, allocations: 0 / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1461, allocations: 3.938 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.1465, allocations: 395.2 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1465, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.1466, allocations: 8 kB / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1466, allocations: 0 / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.1466, allocations: 7.938 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1466, allocations: 3.984 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1466, allocations: 0 / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1468, allocations: 204.3 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.1469, allocations: 85.02 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1469, allocations: 3.938 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.147, allocations: 4.188 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1471, allocations: 11.98 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1471, allocations: 7.938 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1472, allocations: 123.2 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1472, allocations: 0 / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1475, allocations: 27.98 kB / 486 MB, free: 14.68 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.001019/0.1485, allocations: 462.9 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.1487, allocations: 63.84 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1487, allocations: 0 / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.1488, allocations: 31.94 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1491, allocations: 28.91 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.1496, allocations: 237 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1501, allocations: 0.7004 MB / 487.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.636e-05/0.1501, allocations: 16.88 kB / 487.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.1502, allocations: 15.44 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1502, allocations: 0 / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of Templates: time 0.004187/0.1544, allocations: 1.646 MB / 489.2 MB, free: 11.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches