Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002468/0.002468, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002948/0.002948, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3793/0.3793, allocations: 34.25 MB / 295.2 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 179] 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.48e-05, allocations: 6.312 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004625/0.00466, allocations: 2.322 MB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.007761, allocations: 1.364 MB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.007953, allocations: 7.938 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008371/0.00879, allocations: 282.8 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007816/0.009572, allocations: 354.4 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.01017, allocations: 227.4 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007357/0.01091, allocations: 0.5684 MB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.01107, allocations: 33.27 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.01153, allocations: 307.1 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.012, allocations: 255.3 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.01207, allocations: 24 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.01228, allocations: 59.92 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.01253, allocations: 131.5 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.0127, allocations: 99.56 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.01347, allocations: 414.4 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.01348, allocations: 0 / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.01348, allocations: 3.938 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.01349, allocations: 0 / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001693/0.01518, allocations: 0.8572 MB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.01523, allocations: 8.031 kB / 384.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.01539, allocations: 68.56 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.01605, allocations: 359.2 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.01608, allocations: 8.375 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.01613, allocations: 20.33 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.01654, allocations: 209 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.01657, allocations: 12.12 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.01659, allocations: 384 / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.0166, allocations: 11.94 kB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.01686, allocations: 95.8 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.01823, allocations: 1.073 MB / 386.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.01894, allocations: 315.6 kB / 386.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.01919, allocations: 102.4 kB / 386.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.01922, allocations: 4 kB / 386.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/0.01973, allocations: 251.3 kB / 387.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.01974, allocations: 4 kB / 387.1 MB, free: 8.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002479/0.02222, allocations: 1.049 MB / 388.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002824/0.0225, allocations: 166.1 kB / 388.3 MB, free: 7.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.02341, allocations: 0.6589 MB / 388.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.02345, allocations: 37.7 kB / 389 MB, free: 6.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.02376, allocations: 319.6 kB / 389.3 MB, free: 6.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.02391, allocations: 131 kB / 389.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.02404, allocations: 91.84 kB / 389.5 MB, free: 6.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003961/0.02444, allocations: 0.5743 MB / 390.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.02467, allocations: 92.95 kB / 390.2 MB, free: 5.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.02503, allocations: 213.8 kB / 390.4 MB, free: 5.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.02561, allocations: 328.8 kB / 390.7 MB, free: 4.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02561, allocations: 4 kB / 390.7 MB, free: 4.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008457/0.02646, allocations: 424.9 kB / 391.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.02648, allocations: 8.156 kB / 391.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02649, allocations: 4 kB / 391.1 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.02651, allocations: 4 kB / 391.1 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.02685, allocations: 83.89 kB / 391.2 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.02687, allocations: 11.88 kB / 391.2 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.02708, allocations: 25.44 kB / 391.2 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.02712, allocations: 16 kB / 391.3 MB, free: 4.355 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002754/0.02739, allocations: 211.1 kB / 391.5 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.02752, allocations: 71.62 kB / 391.5 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.02857, allocations: 470 kB / 392 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.02858, allocations: 15.98 kB / 392 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.02859, allocations: 7.875 kB / 392 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.0286, allocations: 3.938 kB / 392 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.03085, allocations: 1.512 MB / 393.5 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.03085, allocations: 0 / 393.5 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.03103, allocations: 59.91 kB / 393.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.03104, allocations: 4 kB / 393.6 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.03108, allocations: 24.14 kB / 393.6 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.03109, allocations: 7.938 kB / 393.6 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.03109, allocations: 4 kB / 393.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.03244, allocations: 1.104 MB / 394.7 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.03254, allocations: 59.55 kB / 394.8 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.03263, allocations: 12 kB / 394.8 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.03295, allocations: 19.98 kB / 394.8 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.03305, allocations: 39.88 kB / 394.9 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/0.0331, allocations: 23.98 kB / 394.9 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006002/0.0337, allocations: 442.8 kB / 395.3 MB, free: 164 kB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0337, allocations: 4 kB / 395.3 MB, free: 160 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008247/0.03453, allocations: 91.94 kB / 395.4 MB, free: 68 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003426/0.03795, allocations: 0.5016 MB / 395.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008433/0.0388, allocations: 308.5 kB / 396.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.0388, allocations: 4 kB / 396.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.03915, allocations: 168.3 kB / 396.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.04033, allocations: 157.6 kB / 396.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.0421, allocations: 0.9057 MB / 397.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.04244, allocations: 256.2 kB / 397.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.04269, allocations: 83.39 kB / 397.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.04284, allocations: 56.47 kB / 397.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.04284, allocations: 0 / 397.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of Templates: time 0.01432/0.05716, allocations: 6.215 MB / 404 MB, free: 7.602 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.199565624003299]