Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 97.3 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 201.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 227.8 MB / 246.9 MB, free: 11.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 46.21 MB / 345.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.000284, allocations: 12.38 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 63.57 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002537/0.1359, allocations: 1.462 MB / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.138, allocations: 0.9902 MB / 485.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.1381, allocations: 3.938 kB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1384, allocations: 47.88 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.1388, allocations: 87.73 kB / 485.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.139, allocations: 59.83 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1392, allocations: 123.7 kB / 486 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1394, allocations: 12 kB / 486 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1395, allocations: 47.72 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1396, allocations: 51.75 kB / 486.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1396, allocations: 8 kB / 486.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1398, allocations: 55.97 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.1399, allocations: 27.92 kB / 486.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.14, allocations: 65.38 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1402, allocations: 147.8 kB / 486.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1402, allocations: 3.938 kB / 486.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1402, allocations: 0 / 486.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1403, allocations: 0 / 486.4 MB, free: 0.875 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007226/0.141, allocations: 411.1 kB / 486.8 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.141, allocations: 12.03 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.1411, allocations: 16.75 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1414, allocations: 228 kB / 487 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1414, allocations: 4.375 kB / 487 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.1415, allocations: 12.11 kB / 487 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1417, allocations: 77.53 kB / 487.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1417, allocations: 0 / 487.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1417, allocations: 4 kB / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1417, allocations: 0 / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1419, allocations: 48.03 kB / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.1425, allocations: 324.6 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1428, allocations: 82.55 kB / 487.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.1429, allocations: 32.84 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1429, allocations: 0 / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.1432, allocations: 87.41 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1432, allocations: 0 / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008897/0.1441, allocations: 285 kB / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.1442, allocations: 63.28 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1444, allocations: 190.9 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1444, allocations: 30.55 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.1445, allocations: 116.4 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.1446, allocations: 47.3 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.1446, allocations: 13.72 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1448, allocations: 330.8 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.794e-05/0.1449, allocations: 35.98 kB / 488.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.145, allocations: 53.7 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1452, allocations: 97.7 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1452, allocations: 0 / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003037/0.1455, allocations: 164.8 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1455, allocations: 10.66 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1455, allocations: 0 / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1455, allocations: 0 / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.1456, allocations: 31.86 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1457, allocations: 3.938 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.1457, allocations: 4 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1457, allocations: 12.03 kB / 489.1 MB, free: 13.88 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 (15): * Single equations (assignments): 15 * 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.0001388/0.1459, allocations: 129.8 kB / 489.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1459, allocations: 11.81 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.146, allocations: 17.53 kB / 489.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.146, allocations: 4 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.146, allocations: 7.922 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.146, allocations: 0 / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.1467, allocations: 495.9 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1467, allocations: 0 / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.1468, allocations: 19.98 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1468, allocations: 0 / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1468, allocations: 4 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1468, allocations: 4 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.1468, allocations: 4 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.1472, allocations: 264.9 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.1473, allocations: 93 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1473, allocations: 0 / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.1474, allocations: 4 kB / 490.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1474, allocations: 11.98 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1474, allocations: 11.98 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1476, allocations: 148.3 kB / 490.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1476, allocations: 4 kB / 490.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1479, allocations: 31.98 kB / 490.4 MB, free: 12.52 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 (13): * Single equations (assignments): 11 * 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.001957/0.1499, allocations: 0.4972 MB / 490.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1501, allocations: 91.95 kB / 491 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.1501, allocations: 0 / 491 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1502, allocations: 51.98 kB / 491 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1506, allocations: 38.91 kB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.1513, allocations: 327.7 kB / 491.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.1518, allocations: 0.7126 MB / 492.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.81e-05/0.1519, allocations: 33.41 kB / 492.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.152, allocations: 19.44 kB / 492.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.152, allocations: 3.938 kB / 492.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Templates: time 0.006491/0.1585, allocations: 2.051 MB / 494.2 MB, free: 8.848 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches