Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001452/0.001452, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.00157/0.00157, allocations: 156.9 kB / 24.26 MB, free: 144 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.502/1.502, allocations: 177 MB / 204.4 MB, free: 5.598 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.3949/0.3949, 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 377.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.646e-05, allocations: 4.422 kB / 377.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003548/0.003584, allocations: 1.871 MB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.005799, allocations: 1.087 MB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.005894, allocations: 0 / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.006438, allocations: 227.2 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.006975, allocations: 227.1 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.007273, allocations: 115.5 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.007647, allocations: 263.2 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.007755, allocations: 17.95 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.007998, allocations: 143.6 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.008238, allocations: 159.7 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.008268, allocations: 11.94 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.008414, allocations: 63.91 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.008523, allocations: 67.77 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.008609, allocations: 47.78 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.009007, allocations: 239.1 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.00901, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009011, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.009015, allocations: 0 / 381.8 MB, free: 14.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008659/0.009881, allocations: 0.5041 MB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.009917, allocations: 8.031 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.01001, allocations: 32.75 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.0104, allocations: 229.7 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01042, allocations: 8.375 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.01046, allocations: 8.359 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.01073, allocations: 118.2 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01074, allocations: 192 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.01076, allocations: 4.375 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.01077, allocations: 7.938 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.01094, allocations: 51.89 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.01157, allocations: 408.5 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.01203, allocations: 125.2 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.01215, allocations: 53.75 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.01217, allocations: 4 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.01243, allocations: 117 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.01243, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001563/0.014, allocations: 0.528 MB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.01407, allocations: 81.11 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005674/0.01464, allocations: 452.5 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.01468, allocations: 37.69 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.01485, allocations: 164.5 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.101e-05/0.01493, allocations: 63.44 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.01501, allocations: 45.7 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.01522, allocations: 350.7 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.01537, allocations: 59.97 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.01555, allocations: 91.34 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.0159, allocations: 163.3 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.0159, allocations: 0 / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005029/0.0164, allocations: 261.5 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01641, allocations: 4 kB / 385.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01642, allocations: 0 / 385.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.01644, allocations: 7.984 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.01661, allocations: 51.97 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.01663, allocations: 0 / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.01673, allocations: 11.94 kB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01675, allocations: 12 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001902/0.01694, allocations: 165.8 kB / 386 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.01701, allocations: 47.7 kB / 386 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006187/0.01763, allocations: 273.3 kB / 386.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01764, allocations: 4 kB / 386.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01764, allocations: 0 / 386.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.01765, allocations: 7.984 kB / 386.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.01873, allocations: 0.6801 MB / 387 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.01874, allocations: 0 / 387 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.01884, allocations: 35.86 kB / 387 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01885, allocations: 4 kB / 387 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.01887, allocations: 8 kB / 387 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.01887, allocations: 7.938 kB / 387 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01887, allocations: 0 / 387 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.0195, allocations: 461.7 kB / 387.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.01957, allocations: 27.81 kB / 387.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.01961, allocations: 8 kB / 387.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.01977, allocations: 7.984 kB / 387.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.01983, allocations: 19.97 kB / 387.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.01986, allocations: 12 kB / 387.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00042/0.02028, allocations: 339 kB / 387.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02028, allocations: 0 / 387.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.02067, allocations: 55.88 kB / 387.9 MB, free: 7.789 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002621/0.0233, allocations: 0.5448 MB / 388.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.02373, allocations: 167.5 kB / 388.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.02374, allocations: 0 / 388.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.02392, allocations: 79.83 kB / 388.7 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.02456, allocations: 66.2 kB / 388.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.02566, allocations: 0.5756 MB / 389.4 MB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.02587, allocations: 169.8 kB / 389.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.02599, allocations: 45.91 kB / 389.6 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.02606, allocations: 24.5 kB / 389.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02606, allocations: 0 / 389.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of Templates: time 0.008269/0.03433, allocations: 3.346 MB / 392.9 MB, free: 2.957 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.093858851934783]