Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 89.97 kB / 418.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1449, allocations: 62.44 MB / 480.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003881/0.1488, allocations: 1.724 MB / 482.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1507, allocations: 1.025 MB / 483.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.1508, allocations: 7.938 kB / 483.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.1511, allocations: 31.78 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1515, allocations: 95.59 kB / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1517, allocations: 79.66 kB / 483.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1519, allocations: 103.7 kB / 483.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.152, allocations: 16 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1521, allocations: 47.77 kB / 483.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.1522, allocations: 27.8 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1523, allocations: 4 kB / 483.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1524, allocations: 47.92 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1524, allocations: 23.91 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.1525, allocations: 31.75 kB / 484 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1527, allocations: 115.9 kB / 484.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1528, allocations: 0 / 484.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1528, allocations: 3.938 kB / 484.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1528, allocations: 4 kB / 484.2 MB, free: 1.789 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.0006323/0.1534, allocations: 414.9 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1535, allocations: 8.031 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.1535, allocations: 12.84 kB / 484.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1538, allocations: 216.7 kB / 484.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1539, allocations: 384 / 484.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1539, allocations: 12.06 kB / 484.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1541, allocations: 53.67 kB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1541, allocations: 0 / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1541, allocations: 7.984 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1541, allocations: 0 / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.1542, allocations: 16 kB / 484.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.1546, allocations: 296.7 kB / 485.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1548, allocations: 50.69 kB / 485.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.1549, allocations: 24.84 kB / 485.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1549, allocations: 8 kB / 485.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.1552, allocations: 63.39 kB / 485.3 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1552, allocations: 3.938 kB / 485.3 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005963/0.1558, allocations: 169.3 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1558, allocations: 55.41 kB / 485.5 MB, free: 228 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1561, allocations: 198.3 kB / 485.7 MB, free: 20 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.1561, allocations: 29.7 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.1562, allocations: 108.1 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.1563, allocations: 23.7 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1563, allocations: 21.7 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1565, allocations: 330.8 kB / 486.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.1565, allocations: 19.98 kB / 486.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.1566, allocations: 33.72 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1568, allocations: 61.7 kB / 486.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1568, allocations: 3.938 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.157, allocations: 97.48 kB / 486.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.157, allocations: 8 kB / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.157, allocations: 0 / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.157, allocations: 0 / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1571, allocations: 23.97 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1572, allocations: 4.188 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1572, allocations: 7.922 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1572, allocations: 7.938 kB / 486.5 MB, free: 15.21 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 0.0001147/0.1573, allocations: 125.8 kB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1574, allocations: 11.91 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.1574, allocations: 17.39 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1574, allocations: 0 / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1575, allocations: 3.938 kB / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1575, allocations: 7.938 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.158, allocations: 399.2 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.158, allocations: 0 / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.158, allocations: 8 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.158, allocations: 0 / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1581, allocations: 7.938 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1581, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1581, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.1584, allocations: 212.5 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.1584, allocations: 92.91 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1585, allocations: 8.312 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1586, allocations: 4 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.1586, allocations: 7.984 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1586, allocations: 8 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1588, allocations: 152.2 kB / 487.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1588, allocations: 0 / 487.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1591, allocations: 24 kB / 487.6 MB, free: 14.04 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.001746/0.1608, allocations: 460.4 kB / 488 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.161, allocations: 59.97 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.161, allocations: 0 / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.1611, allocations: 31.92 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1615, allocations: 27.3 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.1621, allocations: 264.8 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.1625, allocations: 0.7002 MB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.1625, allocations: 15.44 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.385e-06/0.1626, allocations: 4 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.004683/0.1672, allocations: 1.954 MB / 491.1 MB, free: 10.64 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches