Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 82.09 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1408, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003849/0.1447, allocations: 1.73 MB / 483.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1464, allocations: 1.025 MB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.1465, allocations: 0 / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1469, allocations: 59.75 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.1472, allocations: 95.59 kB / 484.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1474, allocations: 75.67 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1476, allocations: 111.7 kB / 484.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1477, allocations: 4 kB / 484.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.1478, allocations: 47.78 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.1479, allocations: 39.72 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1479, allocations: 4 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.251e-05/0.148, allocations: 47.92 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1481, allocations: 27.92 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.1481, allocations: 43.66 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1484, allocations: 139.5 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1484, allocations: 0 / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1484, allocations: 0 / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1484, allocations: 4 kB / 484.9 MB, free: 1.082 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.0006516/0.1491, allocations: 446.6 kB / 485.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1491, allocations: 8.031 kB / 485.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.1492, allocations: 12.84 kB / 485.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.1495, allocations: 220.9 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1495, allocations: 384 / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1496, allocations: 16.11 kB / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1498, allocations: 49.67 kB / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1498, allocations: 0 / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1498, allocations: 4 kB / 485.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1498, allocations: 4 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/0.1499, allocations: 23.92 kB / 485.7 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.1503, allocations: 296.9 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1505, allocations: 54.67 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.1506, allocations: 24.84 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.1506, allocations: 15.88 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.1508, allocations: 59.39 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.1508, allocations: 0 / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000567/0.1514, allocations: 192.9 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1514, allocations: 51.41 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1517, allocations: 271 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1518, allocations: 29.7 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.1518, allocations: 112.1 kB / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1519, allocations: 23.7 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.1519, allocations: 21.72 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1521, allocations: 330.8 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.1521, allocations: 19.98 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.1522, allocations: 37.7 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1523, allocations: 65.64 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1523, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.1525, allocations: 101.6 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1526, allocations: 4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1526, allocations: 7.938 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1526, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1527, allocations: 15.98 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1527, allocations: 0 / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.1528, allocations: 19.91 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1528, allocations: 4 kB / 487.4 MB, free: 14.35 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.0001288/0.1529, allocations: 133.8 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.153, allocations: 11.81 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.153, allocations: 21.39 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.153, allocations: 4 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1531, allocations: 0 / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1531, allocations: 7.875 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.1535, allocations: 403.4 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1535, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1536, allocations: 16.3 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1536, allocations: 0 / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1536, allocations: 7.938 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1536, allocations: 4 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1536, allocations: 3.938 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1539, allocations: 212.5 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.1539, allocations: 88.92 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.154, allocations: 3.938 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.154, allocations: 11.98 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.1541, allocations: 3.938 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1541, allocations: 4 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1543, allocations: 208.4 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1543, allocations: 4 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1546, allocations: 24 kB / 488.5 MB, free: 13.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.001171/0.1558, allocations: 455.3 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.156, allocations: 59.92 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.156, allocations: 0 / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.1561, allocations: 31.92 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1564, allocations: 23.98 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.157, allocations: 295.6 kB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1574, allocations: 0.7276 MB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.418e-05/0.1575, allocations: 17.17 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.1575, allocations: 15.44 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1575, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.004995/0.1625, allocations: 1.777 MB / 491.9 MB, free: 9.836 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches