Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.00106/0.00106, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001546/0.001546, allocations: 160.5 kB / 24.55 MB, free: 16 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.989/0.989, 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.323/0.323, allocations: 34.87 MB / 296.3 MB, free: 0.5586 MB / 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.759e-05, allocations: 2.312 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003959/0.003997, allocations: 1.806 MB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.00587, allocations: 1.024 MB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.005996, allocations: 0 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.006441, allocations: 107.6 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.006921, allocations: 135.4 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.007227, allocations: 91.53 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.007491, allocations: 127.7 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.007618, allocations: 21.56 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.007781, allocations: 83.73 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.007921, allocations: 63.86 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.007946, allocations: 4 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.008117, allocations: 63.91 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.008223, allocations: 35.84 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.008294, allocations: 23.88 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.008677, allocations: 139.4 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.008684, allocations: 4 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.008685, allocations: 4 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.008693, allocations: 0 / 382.6 MB, free: 14.26 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006977/0.009391, allocations: 487.6 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.009441, allocations: 8.031 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.952e-05/0.00952, allocations: 24.8 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.009809, allocations: 173.2 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.009833, allocations: 384 / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.009872, allocations: 8.375 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.01007, allocations: 78.86 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.01009, allocations: 192 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.0101, allocations: 8.375 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01011, allocations: 3.938 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.066e-05/0.01019, allocations: 27.97 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006631/0.01085, allocations: 319.6 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.0112, allocations: 71.03 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.01126, allocations: 19.83 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.01129, allocations: 11.94 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.01146, allocations: 80.95 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 4.539e-06/0.01147, allocations: 4 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007415/0.01221, allocations: 269.1 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.01225, allocations: 51.41 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.01247, allocations: 270.8 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.0125, allocations: 33.7 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.01258, allocations: 166.8 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.01263, allocations: 47.58 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.01268, allocations: 43.36 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.01284, allocations: 0.5 MB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.01288, allocations: 23.98 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.01294, allocations: 53.73 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.01304, allocations: 82.67 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01304, allocations: 0 / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001736/0.01322, allocations: 141.6 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.01323, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01324, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01325, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.01334, allocations: 35.92 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01334, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.01338, allocations: 8.031 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01339, allocations: 4 kB / 385.6 MB, free: 11.03 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 (16): * Single equations (assignments): 16 * 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 8.349e-05/0.01347, allocations: 164.5 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.0135, allocations: 31.78 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.01372, allocations: 159 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.01372, allocations: 4 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01373, allocations: 0 / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01373, allocations: 3.984 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.01417, allocations: 496.5 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01417, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.01422, allocations: 20 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01422, allocations: 4 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.01424, allocations: 7.984 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.01424, allocations: 7.938 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01424, allocations: 0 / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.01448, allocations: 317.5 kB / 386.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.0145, allocations: 19.91 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.01452, allocations: 3.938 kB / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.01457, allocations: 12.06 kB / 386.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.01462, allocations: 15.95 kB / 386.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.01464, allocations: 8 kB / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.01475, allocations: 193.4 kB / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01475, allocations: 0 / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.01496, allocations: 39.88 kB / 387.1 MB, free: 9.457 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 (16): * Single equations (assignments): 14 * 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.001127/0.01609, allocations: 484.6 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.01626, allocations: 83.58 kB / 387.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01626, allocations: 4 kB / 387.6 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.342e-05/0.01632, allocations: 47.61 kB / 387.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.01658, allocations: 43.86 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.01703, allocations: 322 kB / 388 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.108e-05/0.01708, allocations: 75.83 kB / 388.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.964e-05/0.01713, allocations: 21.47 kB / 388.1 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.01717, allocations: 28.48 kB / 388.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01717, allocations: 0 / 388.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of Templates: time 0.004484/0.02166, allocations: 2.363 MB / 390.5 MB, free: 6.129 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.4008616311475635]