Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001034, allocations: 98.14 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001254, allocations: 197.7 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003133, allocations: 15.98 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 63.57 MB / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002326/0.143, allocations: 1.415 MB / 483.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1447, allocations: 0.9441 MB / 484.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.1449, allocations: 0 / 484.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1452, allocations: 35.84 kB / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1455, allocations: 67.75 kB / 484.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1457, allocations: 63.8 kB / 484.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1459, allocations: 91.7 kB / 485 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1461, allocations: 11.98 kB / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.36e-05/0.1462, allocations: 35.8 kB / 485.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.1462, allocations: 35.83 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1463, allocations: 4 kB / 485.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.1464, allocations: 32 kB / 485.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.1464, allocations: 19.91 kB / 485.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.996e-05/0.1465, allocations: 41.64 kB / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1466, allocations: 84.09 kB / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1466, allocations: 4 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1466, allocations: 0 / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1467, allocations: 4 kB / 485.3 MB, free: 1.609 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.0004914/0.1472, allocations: 402.8 kB / 485.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1472, allocations: 8.031 kB / 485.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1472, allocations: 15.89 kB / 485.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1475, allocations: 207.5 kB / 485.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1475, allocations: 3.984 kB / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.1476, allocations: 8 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1477, allocations: 49.67 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1477, allocations: 7.938 kB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1477, allocations: 4 kB / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1477, allocations: 0 / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.1478, allocations: 19.98 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1482, allocations: 288.8 kB / 486.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1483, allocations: 62.66 kB / 486.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.1484, allocations: 20.86 kB / 486.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1484, allocations: 0 / 486.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.1486, allocations: 71.33 kB / 486.4 MB, free: 304 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1486, allocations: 0 / 486.4 MB, free: 304 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000626/0.1493, allocations: 169.2 kB / 486.6 MB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1493, allocations: 55.34 kB / 486.7 MB, free: 60 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1495, allocations: 198.8 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1496, allocations: 29.7 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.1497, allocations: 108.1 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1497, allocations: 27.64 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.1497, allocations: 4 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1498, allocations: 322.8 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.1499, allocations: 20 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.15, allocations: 37.7 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.1501, allocations: 23.98 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1501, allocations: 0 / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.1503, allocations: 101.4 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1503, allocations: 4 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1503, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1503, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.1504, allocations: 23.98 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1504, allocations: 416 / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1505, allocations: 4 kB / 487.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1505, allocations: 7.953 kB / 487.6 MB, free: 15.12 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.1506, allocations: 129.8 kB / 487.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1507, allocations: 15.91 kB / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1507, allocations: 13.41 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1507, allocations: 3.984 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1507, allocations: 4 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1507, allocations: 0 / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.1512, allocations: 395.5 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1512, allocations: 0 / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.1513, allocations: 11.94 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1513, allocations: 4 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1513, allocations: 3.984 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1513, allocations: 0 / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1513, allocations: 7.953 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1516, allocations: 208.2 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.1516, allocations: 85.02 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1517, allocations: 11.98 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.1517, allocations: 0 / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1518, allocations: 7.953 kB / 488.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1518, allocations: 7.984 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1519, allocations: 156.7 kB / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.1519, allocations: 0 / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1522, allocations: 23.94 kB / 488.6 MB, free: 13.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.1534, allocations: 468.7 kB / 489.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1536, allocations: 55.91 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1536, allocations: 0 / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.1537, allocations: 31.94 kB / 489.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.154, allocations: 31.97 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.1545, allocations: 246.2 kB / 489.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1548, allocations: 0.7082 MB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.717e-05/0.1549, allocations: 16.89 kB / 490.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.1549, allocations: 19.42 kB / 490.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1549, allocations: 0 / 490.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of Templates: time 0.004454/0.1594, allocations: 1.607 MB / 491.8 MB, free: 10.9 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches