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.001395/0.001395, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009166/0.0009166, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9849/0.9849, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.282/0.282, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|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.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.839e-05, allocations: 2.312 kB / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002699/0.002717, allocations: 2.339 MB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.004543, allocations: 1.381 MB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.004685, allocations: 7.938 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.005164, allocations: 302.8 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.005679, allocations: 346.4 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.006056, allocations: 219.4 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004887/0.006544, allocations: 0.5685 MB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.006671, allocations: 33.27 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.006961, allocations: 307.1 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.007248, allocations: 255.3 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.007288, allocations: 20 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.007402, allocations: 63.91 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.007525, allocations: 123.5 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.767e-05/0.007623, allocations: 107.5 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.007959, allocations: 318.6 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007962, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.007962, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.007968, allocations: 0 / 385.2 MB, free: 11.61 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.000835/0.008803, allocations: 0.8341 MB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.008846, allocations: 12.03 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.00894, allocations: 76.55 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.009315, allocations: 351.1 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.00934, allocations: 12.38 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.009376, allocations: 12.38 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.009636, allocations: 213.7 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.009648, allocations: 192 / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.009667, allocations: 8.375 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.009676, allocations: 3.938 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.009782, allocations: 63.88 kB / 386.8 MB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007445/0.01053, allocations: 1.019 MB / 387.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.01084, allocations: 275.6 kB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.01094, allocations: 90.34 kB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.01096, allocations: 4 kB / 388.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.0112, allocations: 223.3 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.0112, allocations: 3.984 kB / 388.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001147/0.01235, allocations: 0.943 MB / 389.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.01243, allocations: 162.2 kB / 389.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.01289, allocations: 0.5846 MB / 390 MB, free: 6.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.01292, allocations: 37.7 kB / 390.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.01308, allocations: 291.8 kB / 390.4 MB, free: 6.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/0.01317, allocations: 131 kB / 390.5 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.01325, allocations: 75.84 kB / 390.6 MB, free: 5.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.01343, allocations: 0.5508 MB / 391.1 MB, free: 5.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.01353, allocations: 56.97 kB / 391.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.01368, allocations: 173.8 kB / 391.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.01393, allocations: 249.1 kB / 391.6 MB, free: 4.754 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01393, allocations: 3.984 kB / 391.6 MB, free: 4.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003966/0.01433, allocations: 345.4 kB / 391.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01435, allocations: 12.03 kB / 391.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01435, allocations: 0 / 391.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.01438, allocations: 4 kB / 391.9 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.01456, allocations: 87.83 kB / 392 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.01457, allocations: 12 kB / 392 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01468, allocations: 29.44 kB / 392.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01469, allocations: 12 kB / 392.1 MB, free: 4.254 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.0001306/0.01482, allocations: 199 kB / 392.3 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.01489, allocations: 71.62 kB / 392.4 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.01537, allocations: 417.6 kB / 392.8 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01537, allocations: 4 kB / 392.8 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.01538, allocations: 7.938 kB / 392.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01539, allocations: 0 / 392.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.01642, allocations: 1.41 MB / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.01643, allocations: 160 / 394.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/0.01653, allocations: 55.92 kB / 394.2 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01653, allocations: 4 kB / 394.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.01655, allocations: 15.98 kB / 394.3 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.01656, allocations: 8 kB / 394.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01656, allocations: 7.938 kB / 394.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.01718, allocations: 1.03 MB / 395.3 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.01723, allocations: 55.58 kB / 395.4 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.01728, allocations: 15.98 kB / 395.4 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.01745, allocations: 27.92 kB / 395.4 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.01753, allocations: 39.88 kB / 395.4 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.01756, allocations: 24 kB / 395.5 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.01788, allocations: 394.8 kB / 395.8 MB, free: 368 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01788, allocations: 0 / 395.8 MB, free: 368 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003876/0.01826, allocations: 87.92 kB / 395.9 MB, free: 280 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.000923/0.01919, allocations: 455.3 kB / 396.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.0195, allocations: 240.2 kB / 396.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0195, allocations: 0 / 396.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.01965, allocations: 139.4 kB / 396.7 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.02031, allocations: 153 kB / 396.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.02169, allocations: 0.8789 MB / 397.8 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.0218, allocations: 137.9 kB / 397.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.02195, allocations: 79.39 kB / 398 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.02204, allocations: 52.48 kB / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02204, allocations: 0 / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of Templates: time 0.009203/0.03124, allocations: 6.244 MB / 404.3 MB, free: 8.078 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.423449506983161]