Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009417/0.0009417, allocations: 96.95 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009455/0.0009454, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002102/0.1502, allocations: 1.407 MB / 484.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1518, allocations: 0.9629 MB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.1519, allocations: 0 / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.1522, allocations: 59.81 kB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.1525, allocations: 83.72 kB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.1526, allocations: 59.88 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1528, allocations: 99.64 kB / 485.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.1529, allocations: 8.219 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.153, allocations: 39.78 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.1531, allocations: 35.84 kB / 485.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1531, allocations: 4 kB / 485.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.1532, allocations: 43.97 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.1533, allocations: 11.92 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.1533, allocations: 61.39 kB / 485.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1535, allocations: 99.97 kB / 486 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.1535, allocations: 0 / 486 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1535, allocations: 3.938 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1535, allocations: 0 / 486.1 MB, free: 1.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004952/0.154, allocations: 379.2 kB / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1541, allocations: 8.875 kB / 486.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1541, allocations: 12.84 kB / 486.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1544, allocations: 212 kB / 486.6 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1544, allocations: 384 / 486.6 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.1544, allocations: 4.125 kB / 486.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1545, allocations: 57.59 kB / 486.7 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1546, allocations: 0 / 486.7 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1546, allocations: 0 / 486.7 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1546, allocations: 0 / 486.7 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.1546, allocations: 15.98 kB / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.1548, allocations: 185.7 kB / 486.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.155, allocations: 54.61 kB / 487 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.1551, allocations: 28.73 kB / 487 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1551, allocations: 0 / 487 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1553, allocations: 63.39 kB / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1553, allocations: 0 / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002703/0.1556, allocations: 97.56 kB / 487.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1556, allocations: 51.41 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1558, allocations: 183.9 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1558, allocations: 33.64 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.1559, allocations: 100.1 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1559, allocations: 11.81 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.156, allocations: 17.7 kB / 487.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1561, allocations: 326.8 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.1561, allocations: 15.94 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.1562, allocations: 29.7 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.208e-05/0.1563, allocations: 45.95 kB / 487.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1563, allocations: 0 / 487.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001432/0.1565, allocations: 89.5 kB / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1565, allocations: 4 kB / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1565, allocations: 0 / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1565, allocations: 4 kB / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.1566, allocations: 8 kB / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1566, allocations: 0 / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.1566, allocations: 11.98 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1567, allocations: 0 / 488.1 MB, free: 14.89 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 (7): * Single equations (assignments): 7 * 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 8.053e-05/0.1567, allocations: 125.7 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1568, allocations: 15.81 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.1568, allocations: 16.98 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1568, allocations: 4 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1568, allocations: 0 / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1568, allocations: 0 / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.157, allocations: 185.6 kB / 488.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.157, allocations: 3.984 kB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.157, allocations: 0 / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.157, allocations: 4 kB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.157, allocations: 0 / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.157, allocations: 0 / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.157, allocations: 4.156 kB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1572, allocations: 112.9 kB / 488.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.1573, allocations: 88.92 kB / 488.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1573, allocations: 3.984 kB / 488.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.1573, allocations: 4 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.1574, allocations: 0 / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1574, allocations: 4.125 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1575, allocations: 154.7 kB / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1575, allocations: 0 / 488.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.1577, allocations: 12 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009167/0.1586, allocations: 422 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1588, allocations: 39.92 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1588, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/0.1589, allocations: 19.98 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1591, allocations: 34.33 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.1595, allocations: 209.2 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.1598, allocations: 0.7043 MB / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.716e-05/0.1598, allocations: 12.8 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.1599, allocations: 11.44 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1599, allocations: 0 / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.00387/0.1637, allocations: 1.423 MB / 491.6 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches