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.001731/0.001731, allocations: 115.1 kB / 17.33 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 209.8 kB / 18.27 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.5 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2617/0.2617, allocations: 46.12 MB / 343.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 80.73 kB / 417.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1448, allocations: 62.46 MB / 479.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003577/0.1484, allocations: 1.777 MB / 481.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1503, allocations: 1.013 MB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.1504, allocations: 0 / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.1507, allocations: 35.83 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1511, allocations: 83.73 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1513, allocations: 63.88 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1515, allocations: 111.6 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1516, allocations: 8 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1517, allocations: 43.78 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1518, allocations: 39.78 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1519, allocations: 4 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.152, allocations: 43.92 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.1521, allocations: 27.86 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.1521, allocations: 35.73 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1524, allocations: 115.9 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1524, allocations: 0 / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1524, allocations: 4 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1524, allocations: 0 / 483 MB, free: 2.039 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.0006715/0.1531, allocations: 414.9 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1531, allocations: 8.031 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1532, allocations: 16.84 kB / 483.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1535, allocations: 212.8 kB / 483.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1535, allocations: 8.25 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1535, allocations: 12.11 kB / 483.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1538, allocations: 53.67 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1538, allocations: 0 / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1538, allocations: 0 / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1538, allocations: 0 / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.1539, allocations: 23.98 kB / 483.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.1543, allocations: 288.8 kB / 484 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1545, allocations: 58.61 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.1546, allocations: 20.86 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1546, allocations: 7.984 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.1549, allocations: 67.38 kB / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1549, allocations: 0 / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005882/0.1555, allocations: 169.2 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.1555, allocations: 55.41 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1557, allocations: 190.9 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1558, allocations: 25.7 kB / 484.6 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.1558, allocations: 108.1 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1559, allocations: 23.7 kB / 484.7 MB, free: 112 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1559, allocations: 21.72 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1561, allocations: 330.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.1562, allocations: 23.92 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.1563, allocations: 33.7 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1564, allocations: 65.77 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1564, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.1567, allocations: 105.6 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1567, allocations: 8 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1567, allocations: 3.938 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1567, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1568, allocations: 19.98 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1568, allocations: 4 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.1569, allocations: 4.312 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1569, allocations: 7.938 kB / 485.3 MB, free: 15.46 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.0001319/0.1571, allocations: 132.5 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1571, allocations: 11.91 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.1571, allocations: 13.41 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1572, allocations: 3.938 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1572, allocations: 4 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1572, allocations: 7.922 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.1577, allocations: 395.2 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1577, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.1577, allocations: 12.03 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1578, allocations: 4 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1578, allocations: 7.922 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1578, allocations: 0 / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1578, allocations: 0 / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1581, allocations: 200.2 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1581, allocations: 88.92 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1582, allocations: 11.94 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.1583, allocations: 7.984 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1583, allocations: 4 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1583, allocations: 4 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1585, allocations: 152.7 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1585, allocations: 0 / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1588, allocations: 24 kB / 486.4 MB, free: 14.29 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.001762/0.1605, allocations: 464.4 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1607, allocations: 63.91 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1608, allocations: 0 / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.1608, allocations: 35.98 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1612, allocations: 28.3 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.1618, allocations: 263 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.1622, allocations: 0.7002 MB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.1622, allocations: 12.88 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.1623, allocations: 15.44 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1623, allocations: 4 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Templates: time 0.005167/0.1674, allocations: 1.722 MB / 489.7 MB, free: 11.12 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches