Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001075, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001547, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.8 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.2267/0.2267, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 75.78 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1404, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003331/0.1438, allocations: 1.716 MB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1454, allocations: 1.033 MB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.1455, allocations: 0 / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.1458, allocations: 43.77 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.1461, allocations: 87.61 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.1464, allocations: 83.66 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1465, allocations: 103.6 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1467, allocations: 23.97 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.1468, allocations: 39.78 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.1468, allocations: 35.8 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1469, allocations: 4 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.147, allocations: 43.97 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.147, allocations: 15.92 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.1471, allocations: 35.75 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1473, allocations: 127.9 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1473, allocations: 0 / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1473, allocations: 0 / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1473, allocations: 0 / 483.4 MB, free: 1.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000575/0.1479, allocations: 422.8 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.148, allocations: 12.03 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.148, allocations: 8.844 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1483, allocations: 216 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1483, allocations: 4.375 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1483, allocations: 12.12 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1485, allocations: 53.67 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1485, allocations: 0 / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1485, allocations: 0 / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1485, allocations: 4 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.1486, allocations: 19.92 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.149, allocations: 284.9 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1491, allocations: 62.67 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.1492, allocations: 20.84 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1492, allocations: 3.938 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.1495, allocations: 67.39 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1495, allocations: 0 / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000537/0.15, allocations: 185 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1501, allocations: 59.39 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1503, allocations: 202.4 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1503, allocations: 25.7 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.1504, allocations: 104.1 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1504, allocations: 23.66 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.1505, allocations: 25.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1506, allocations: 334.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.1507, allocations: 19.98 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.1507, allocations: 37.64 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1509, allocations: 61.66 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1509, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002545/0.1511, allocations: 101.4 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1512, allocations: 8.031 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1512, allocations: 4 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1512, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.1513, allocations: 12 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1513, allocations: 7.984 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.1513, allocations: 7.938 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1513, allocations: 4 kB / 485.8 MB, free: 15.27 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.0001578/0.1515, allocations: 125.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1515, allocations: 15.89 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.1516, allocations: 17.41 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1516, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1516, allocations: 4 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1516, allocations: 7.875 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.152, allocations: 395.3 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1521, allocations: 0 / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.1521, allocations: 11.94 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1521, allocations: 3.984 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1521, allocations: 11.97 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1521, allocations: 3.984 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1521, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.1524, allocations: 200.3 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1525, allocations: 88.92 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1525, allocations: 3.938 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.1526, allocations: 12.38 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.1527, allocations: 11.92 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1527, allocations: 4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1529, allocations: 156.8 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1531, allocations: 28.17 kB / 486.9 MB, free: 14.09 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.001095/0.1542, allocations: 465.9 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1545, allocations: 63.92 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1545, allocations: 0 / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.1546, allocations: 23.98 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1549, allocations: 38 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.1555, allocations: 239 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.156, allocations: 0.7158 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.044e-05/0.1561, allocations: 17.17 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.1561, allocations: 15.44 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1561, allocations: 0 / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Templates: time 0.005497/0.1617, allocations: 1.738 MB / 490.1 MB, free: 10.91 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches