Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 109.2 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.001295/0.001295, 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.458/1.458, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2529/0.2529, allocations: 46.1 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 78.98 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1372, allocations: 62.44 MB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00364/0.1409, allocations: 1.972 MB / 481.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.143, allocations: 1.123 MB / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1432, allocations: 0 / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.1437, allocations: 251.4 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.1442, allocations: 215.3 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1444, allocations: 91.84 kB / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.1448, allocations: 255.3 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1449, allocations: 33.66 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1451, allocations: 123.5 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1453, allocations: 183.4 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.1453, allocations: 4 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1455, allocations: 63.98 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-05/0.1455, allocations: 63.75 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.1457, allocations: 95.17 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.146, allocations: 243.4 kB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.146, allocations: 4 kB / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.146, allocations: 0 / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.146, allocations: 0 / 484 MB, free: 0.9961 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009924/0.147, allocations: 0.5797 MB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.1471, allocations: 16.02 kB / 484.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.1472, allocations: 32.56 kB / 484.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.1476, allocations: 290.4 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1477, allocations: 4.375 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.1477, allocations: 12.06 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.148, allocations: 111.3 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.148, allocations: 7.906 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.1481, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1481, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1482, allocations: 55.91 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007514/0.149, allocations: 476.8 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.1494, allocations: 133.1 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1496, allocations: 41.83 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1496, allocations: 8.062 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.1499, allocations: 125 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.15, allocations: 3.938 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001411/0.1514, allocations: 0.4998 MB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.1515, allocations: 77.11 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.152, allocations: 0.4937 MB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.152, allocations: 37.64 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1522, allocations: 172.5 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.1522, allocations: 67.02 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.1523, allocations: 49.7 kB / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1525, allocations: 346.8 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1526, allocations: 55.97 kB / 487.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1528, allocations: 91.34 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.153, allocations: 163.5 kB / 487.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1531, allocations: 0 / 487.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004021/0.1535, allocations: 229.2 kB / 488.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1535, allocations: 10.59 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1535, allocations: 0 / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1535, allocations: 4.062 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.1537, allocations: 55.91 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1537, allocations: 0 / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.255e-05/0.1538, allocations: 11.91 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1538, allocations: 8 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001627/0.154, allocations: 178.3 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.1541, allocations: 39.55 kB / 488.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.1541, allocations: 38.89 kB / 488.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1541, allocations: 4 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1542, allocations: 4 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1542, allocations: 0 / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009321/0.1551, allocations: 0.7468 MB / 489.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1551, allocations: 4.031 kB / 489.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.1552, allocations: 27.98 kB / 489.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1552, allocations: 11.88 kB / 489.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1553, allocations: 12 kB / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1553, allocations: 0 / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1553, allocations: 4 kB / 489.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005869/0.1559, allocations: 436.7 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.156, allocations: 100.7 kB / 489.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.156, allocations: 8 kB / 489.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1562, allocations: 11.98 kB / 489.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.1562, allocations: 19.92 kB / 489.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.1563, allocations: 15.98 kB / 489.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004121/0.1567, allocations: 371.1 kB / 490.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1567, allocations: 0 / 490.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.157, allocations: 48 kB / 490.3 MB, free: 10.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001206/0.1583, allocations: 0.5066 MB / 490.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1586, allocations: 167.8 kB / 490.9 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1586, allocations: 0 / 490.9 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1588, allocations: 83.97 kB / 491 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.1593, allocations: 61.41 kB / 491.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.1603, allocations: 0.6745 MB / 491.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1606, allocations: 0.7794 MB / 492.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.1607, allocations: 49.91 kB / 492.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.1608, allocations: 31.44 kB / 492.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1608, allocations: 0 / 492.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006411/0.1672, allocations: 3.024 MB / 495.6 MB, free: 5.094 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches