Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008285/0.0008286, allocations: 95.59 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 200.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.453/1.453, allocations: 227.7 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 12 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 63.56 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002133/0.1462, allocations: 1.407 MB / 484.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1479, allocations: 0.9629 MB / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.148, allocations: 0 / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1484, allocations: 83.77 kB / 485.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.1487, allocations: 103.7 kB / 485.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.1489, allocations: 55.88 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1491, allocations: 107.6 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.1492, allocations: 12.2 kB / 485.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.1493, allocations: 43.78 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1494, allocations: 55.81 kB / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1494, allocations: 0 / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.1495, allocations: 39.98 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1496, allocations: 19.86 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.1497, allocations: 61.44 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1498, allocations: 111.8 kB / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1499, allocations: 0 / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1499, allocations: 0 / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1499, allocations: 0 / 486.1 MB, free: 1.047 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.0005509/0.1504, allocations: 401.6 kB / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1505, allocations: 12.88 kB / 486.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.1506, allocations: 16.78 kB / 486.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1508, allocations: 212.5 kB / 486.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1508, allocations: 4.375 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1508, allocations: 8.125 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.151, allocations: 45.67 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.151, allocations: 3.938 kB / 486.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.151, allocations: 0 / 486.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.151, allocations: 4 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.776e-05/0.1511, allocations: 15.98 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.1513, allocations: 181.7 kB / 487 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1515, allocations: 58.55 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.1516, allocations: 24.8 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1516, allocations: 0 / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.1518, allocations: 67.38 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1518, allocations: 0 / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002738/0.1521, allocations: 105.6 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1521, allocations: 51.41 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1523, allocations: 219.5 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1524, allocations: 29.7 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.1524, allocations: 104.1 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.1525, allocations: 19.81 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.1525, allocations: 13.72 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1526, allocations: 326.8 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.1527, allocations: 15.98 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.074e-05/0.1527, allocations: 25.72 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.172e-05/0.1528, allocations: 45.64 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1529, allocations: 0 / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001545/0.153, allocations: 89.47 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.153, allocations: 8 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1531, allocations: 0 / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1531, allocations: 3.984 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.1532, allocations: 11.94 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1532, allocations: 4.156 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.1532, allocations: 0 / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1532, allocations: 4 kB / 488.2 MB, free: 14.72 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 9.944e-05/0.1533, allocations: 136.4 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.1534, allocations: 19.81 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.1534, allocations: 16.97 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1534, allocations: 4 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1534, allocations: 0 / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1534, allocations: 3.984 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.1536, allocations: 197.5 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1536, allocations: 3.938 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.1536, allocations: 4 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1536, allocations: 0 / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1537, allocations: 4 kB / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1537, allocations: 0 / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1537, allocations: 4 kB / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1539, allocations: 116.8 kB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1539, allocations: 85.2 kB / 488.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.154, allocations: 7.984 kB / 488.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.154, allocations: 4 kB / 488.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1541, allocations: 0 / 488.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.1541, allocations: 8 kB / 488.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1542, allocations: 169.2 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1542, allocations: 0 / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1545, allocations: 16 kB / 489 MB, free: 13.84 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.00101/0.1555, allocations: 400.6 kB / 489.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1557, allocations: 43.92 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1557, allocations: 3.938 kB / 489.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.1558, allocations: 20.17 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1561, allocations: 32.05 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.1566, allocations: 245.7 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.157, allocations: 0.7122 MB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.1571, allocations: 8.547 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1571, allocations: 15.44 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1571, allocations: 0 / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004325/0.1615, allocations: 1.433 MB / 491.9 MB, free: 11.04 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches