Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2801/0.2801, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 79.25 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1439, allocations: 62.44 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003774/0.1477, allocations: 1.925 MB / 481.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1497, allocations: 1.13 MB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1499, allocations: 4 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.1504, allocations: 251.3 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.151, allocations: 231.2 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1514, allocations: 115.6 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.1517, allocations: 275.3 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1519, allocations: 29.66 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1521, allocations: 131.5 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1524, allocations: 191.4 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1524, allocations: 8 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1526, allocations: 67.97 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.276e-05/0.1527, allocations: 59.77 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.1528, allocations: 103.2 kB / 484.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.1531, allocations: 251.4 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1532, allocations: 0 / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1532, allocations: 0 / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1532, allocations: 0 / 484.8 MB, free: 0.5234 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.0008371/0.154, allocations: 0.5796 MB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1541, allocations: 12.03 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.1542, allocations: 28.56 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1545, allocations: 294.4 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1546, allocations: 8.375 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1546, allocations: 8.125 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.1548, allocations: 111.3 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1549, allocations: 7.906 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1549, allocations: 0 / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1549, allocations: 0 / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.155, allocations: 55.89 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.1557, allocations: 488.8 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.1561, allocations: 121.2 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1562, allocations: 45.81 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1562, allocations: 7.938 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.1566, allocations: 125 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1566, allocations: 0 / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001374/0.1579, allocations: 0.5044 MB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.158, allocations: 81.11 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.1585, allocations: 0.4937 MB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1586, allocations: 33.7 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1587, allocations: 164.5 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.1588, allocations: 78.98 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.1588, allocations: 41.7 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.159, allocations: 346.8 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1592, allocations: 55.98 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1593, allocations: 95.39 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.1596, allocations: 151.3 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1596, allocations: 0 / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004047/0.16, allocations: 241.2 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.16, allocations: 7.938 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.16, allocations: 4 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1601, allocations: 0 / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1602, allocations: 43.92 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1602, allocations: 0 / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.1603, allocations: 15.89 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1603, allocations: 8 kB / 489 MB, free: 12.04 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.0001789/0.1605, allocations: 177.7 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.1606, allocations: 39.59 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.129e-05/0.1607, allocations: 42.89 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1607, allocations: 3.984 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1607, allocations: 4 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1607, allocations: 4 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009158/0.1616, allocations: 0.7389 MB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1617, allocations: 192 / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1618, allocations: 31.92 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1618, allocations: 7.938 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1618, allocations: 8 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1619, allocations: 3.984 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1619, allocations: 4 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.1623, allocations: 428.7 kB / 490.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.1624, allocations: 104.7 kB / 490.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.1625, allocations: 8 kB / 490.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1626, allocations: 12 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.1627, allocations: 19.91 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.1627, allocations: 15.94 kB / 490.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.1631, allocations: 375.1 kB / 491 MB, free: 9.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1631, allocations: 0 / 491 MB, free: 9.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.1634, allocations: 47.98 kB / 491 MB, free: 9.855 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.001156/0.1646, allocations: 0.5102 MB / 491.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.165, allocations: 167.8 kB / 491.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.165, allocations: 7.938 kB / 491.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1652, allocations: 75.84 kB / 491.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.1657, allocations: 70.52 kB / 491.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.1667, allocations: 0.6101 MB / 492.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.1671, allocations: 0.7865 MB / 493.2 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1673, allocations: 29.94 kB / 493.3 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.1673, allocations: 35.42 kB / 493.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1673, allocations: 4 kB / 493.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of Templates: time 0.007619/0.175, allocations: 3.171 MB / 496.5 MB, free: 4.551 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches