Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.00234/0.00234, 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.002712/0.002712, allocations: 160.8 kB / 24.27 MB, free: 156 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.585/1.585, allocations: 177 MB / 204.5 MB, free: 5.613 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.45/0.45, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.698e-05, allocations: 4.141 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00374/0.003777, allocations: 1.755 MB / 379 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.005837, allocations: 1.001 MB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.005921, allocations: 3.938 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.006331, allocations: 91.62 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.006728, allocations: 119.4 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.006962, allocations: 87.59 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.007199, allocations: 131.5 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.007304, allocations: 7.984 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.007448, allocations: 71.81 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.00759, allocations: 59.86 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.007614, allocations: 4 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.007751, allocations: 67.84 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.007832, allocations: 31.86 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.007883, allocations: 19.92 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.008167, allocations: 139.5 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.008171, allocations: 0 / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008173, allocations: 0 / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.008178, allocations: 0 / 380.9 MB, free: 15.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007629/0.008941, allocations: 479.3 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.008986, allocations: 11.97 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.009052, allocations: 16.84 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.009337, allocations: 165.1 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.009354, allocations: 4.359 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.009383, allocations: 12.38 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.009558, allocations: 54.23 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.009572, allocations: 192 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.009584, allocations: 384 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.009592, allocations: 3.938 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/0.009685, allocations: 31.91 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.01021, allocations: 315.7 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.0105, allocations: 67.05 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.01057, allocations: 19.8 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.01058, allocations: 4 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.01076, allocations: 80.91 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.01076, allocations: 3.938 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008594/0.01162, allocations: 257.7 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.01168, allocations: 59.41 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.01227, allocations: 275.1 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.0123, allocations: 25.7 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.01244, allocations: 166.9 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.01249, allocations: 35.69 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.01256, allocations: 43.36 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000302/0.01286, allocations: 0.5001 MB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.01294, allocations: 31.98 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01304, allocations: 55.36 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.0132, allocations: 87.23 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.01321, allocations: 8 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002666/0.01348, allocations: 133.5 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.0135, allocations: 8 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.0135, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01352, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.0136, allocations: 16 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.01362, allocations: 7.984 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.01366, allocations: 0 / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.01368, allocations: 8 kB / 383.8 MB, free: 12.06 MB / 362.7 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 (13): * Single equations (assignments): 13 * 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.0001554/0.01383, allocations: 174.7 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.01387, allocations: 19.94 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.01419, allocations: 147 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.0142, allocations: 4 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01421, allocations: 0 / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01421, allocations: 0 / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.01488, allocations: 476.5 kB / 384.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01489, allocations: 0 / 384.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.01495, allocations: 27.98 kB / 384.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01495, allocations: 0 / 384.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01497, allocations: 8.062 kB / 384.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01497, allocations: 3.938 kB / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01497, allocations: 0 / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.01538, allocations: 307.1 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.01541, allocations: 11.91 kB / 385 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01543, allocations: 4 kB / 385 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.01551, allocations: 4 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.01557, allocations: 23.84 kB / 385 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.01559, allocations: 4 kB / 385 MB, free: 10.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.01577, allocations: 187.2 kB / 385.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01577, allocations: 0 / 385.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.01605, allocations: 35.92 kB / 385.2 MB, free: 10.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.003797/0.01985, allocations: 0.5414 MB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.0202, allocations: 87.58 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.0202, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.02032, allocations: 51.61 kB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.02076, allocations: 31.97 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.02156, allocations: 289.4 kB / 386.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.02172, allocations: 105.8 kB / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.189e-05/0.02178, allocations: 12.64 kB / 386.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.02185, allocations: 20.5 kB / 386.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02185, allocations: 4 kB / 386.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Templates: time 0.007188/0.02904, allocations: 2.115 MB / 388.5 MB, free: 7.465 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.238616114016622]