Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001068, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 76.62 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1352, allocations: 62.45 MB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002998/0.1383, allocations: 1.732 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1398, allocations: 1.013 MB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.1399, allocations: 4 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1402, allocations: 47.75 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.1406, allocations: 99.53 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.1408, allocations: 79.67 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1409, allocations: 103.6 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.141, allocations: 19.98 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.1411, allocations: 39.8 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.1412, allocations: 39.78 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1412, allocations: 4 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.94e-05/0.1413, allocations: 39.98 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.1414, allocations: 23.86 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.1415, allocations: 39.73 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1417, allocations: 127.8 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1417, allocations: 4 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1417, allocations: 0 / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1417, allocations: 4 kB / 483.4 MB, free: 1.844 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.0005589/0.1423, allocations: 430.8 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1423, allocations: 8.031 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1424, allocations: 12.84 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1426, allocations: 217.6 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1427, allocations: 4.312 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1427, allocations: 12.12 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1429, allocations: 57.66 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1429, allocations: 3.984 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1429, allocations: 4 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1429, allocations: 8 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.143, allocations: 15.98 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1434, allocations: 288.8 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1435, allocations: 62.61 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.1436, allocations: 16.86 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1436, allocations: 8 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.1438, allocations: 71.28 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1438, allocations: 0 / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005298/0.1444, allocations: 177.1 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1444, allocations: 51.41 kB / 484.8 MB, free: 244 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1447, allocations: 230.2 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.1447, allocations: 41.69 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1448, allocations: 100.1 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1448, allocations: 31.62 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.1449, allocations: 21.72 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.145, allocations: 334.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.1451, allocations: 23.94 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.1451, allocations: 37.64 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1453, allocations: 57.7 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1453, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.1454, allocations: 105.5 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1455, allocations: 8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1455, allocations: 4.141 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1455, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.1456, allocations: 12 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1456, allocations: 3.984 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.1457, allocations: 15.88 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1457, allocations: 11.92 kB / 485.9 MB, free: 15.17 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.0001062/0.1458, allocations: 125.8 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1458, allocations: 7.906 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.1459, allocations: 21.39 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1459, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1459, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.1459, allocations: 7.938 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.1463, allocations: 407.6 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1464, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.1464, allocations: 12 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1464, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1464, allocations: 11.92 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1464, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1464, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1467, allocations: 208.3 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.1467, allocations: 84.92 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1467, allocations: 7.938 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.1468, allocations: 4 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.1469, allocations: 11.97 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1469, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.1471, allocations: 176.4 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1471, allocations: 4 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1473, allocations: 28 kB / 487 MB, free: 13.96 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.001103/0.1484, allocations: 449.9 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1487, allocations: 67.91 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1487, allocations: 0 / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.1488, allocations: 31.92 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1491, allocations: 30.97 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.1497, allocations: 267.9 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1499, allocations: 0.708 MB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.15, allocations: 20.86 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.1501, allocations: 15.44 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1501, allocations: 0 / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Templates: time 0.00452/0.1546, allocations: 1.747 MB / 490.3 MB, free: 10.76 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches