Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.0009434/0.0009434, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001064/0.001064, allocations: 158.5 kB / 24.91 MB, free: 8.719 MB / 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.069/1.069, allocations: 177 MB / 205.2 MB, free: 5.031 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.2664/0.2664, allocations: 34.86 MB / 296.6 MB, free: 464 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 326 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.949e-05, allocations: 2.312 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002173/0.002193, allocations: 1.929 MB / 327.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003469, allocations: 1.115 MB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.003539, allocations: 0 / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.00384, allocations: 159.3 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.004165, allocations: 195.2 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.004335, allocations: 115.5 kB / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.004551, allocations: 256 kB / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.004639, allocations: 26.58 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.004772, allocations: 135.6 kB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.004899, allocations: 115.7 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.004919, allocations: 8 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.991e-05/0.005008, allocations: 63.92 kB / 330.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.005068, allocations: 59.77 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.005112, allocations: 47.78 kB / 330.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.005309, allocations: 183.2 kB / 330.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.005311, allocations: 0 / 330.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005311, allocations: 0 / 330.4 MB, free: 2.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.005314, allocations: 0 / 330.4 MB, free: 2.648 MB / 298.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.0004127/0.005727, allocations: 452.5 kB / 330.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.005756, allocations: 16.02 kB / 330.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.00579, allocations: 16.92 kB / 330.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.005977, allocations: 205.8 kB / 331.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.005992, allocations: 4.375 kB / 331.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.006015, allocations: 16.36 kB / 331.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006145, allocations: 111.3 kB / 331.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006156, allocations: 4.188 kB / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.006166, allocations: 8.359 kB / 331.2 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006172, allocations: 3.938 kB / 331.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.006212, allocations: 33.62 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.00647, allocations: 292.8 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.006652, allocations: 182.6 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.006687, allocations: 29.91 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.006696, allocations: 4 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.006799, allocations: 116.8 kB / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.0068, allocations: 0 / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005238/0.007324, allocations: 318.3 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.007357, allocations: 81.11 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.007522, allocations: 292.6 kB / 332.5 MB, free: 340 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.007538, allocations: 29.7 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.00758, allocations: 117.2 kB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.007625, allocations: 75.39 kB / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.007665, allocations: 41.69 kB / 332.8 MB, free: 56 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.007758, allocations: 342.7 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.007787, allocations: 30.81 kB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.444e-05/0.007832, allocations: 56.06 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.071e-05/0.007922, allocations: 102 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007923, allocations: 0 / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001231/0.008046, allocations: 138 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.008058, allocations: 7.984 kB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.008065, allocations: 4 kB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.008076, allocations: 4.062 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.008156, allocations: 39.92 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.008159, allocations: 0 / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.0082, allocations: 12 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.008209, allocations: 11.98 kB / 333.5 MB, free: 15.28 MB / 314.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 7.249e-05/0.008281, allocations: 128.5 kB / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.008306, allocations: 27.97 kB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.008468, allocations: 151.3 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.00847, allocations: 3.938 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.008473, allocations: 8 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008477, allocations: 0 / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.008846, allocations: 0.5477 MB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.008847, allocations: 4 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.008901, allocations: 35.92 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008903, allocations: 0 / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.008913, allocations: 7.984 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.008916, allocations: 7.938 kB / 334.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008917, allocations: 128 / 334.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.0091, allocations: 418.4 kB / 334.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.009121, allocations: 27.8 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.009146, allocations: 15.92 kB / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.009217, allocations: 7.938 kB / 334.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.009249, allocations: 19.97 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.009265, allocations: 11.98 kB / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.457e-05/0.00935, allocations: 115.5 kB / 335 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00935, allocations: 0 / 335 MB, free: 13.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.00955, allocations: 51.94 kB / 335.1 MB, free: 13.62 MB / 314.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.001427/0.01098, allocations: 0.6572 MB / 335.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.0111, allocations: 102.9 kB / 335.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.01111, allocations: 4 kB / 335.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.01116, allocations: 52.72 kB / 335.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.01143, allocations: 66.78 kB / 336 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.0119, allocations: 457.6 kB / 336.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.464e-05/0.01195, allocations: 96.33 kB / 336.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.507e-05/0.01201, allocations: 37.91 kB / 336.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.01211, allocations: 99.34 kB / 336.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01211, allocations: 0 / 336.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of Templates: time 0.004851/0.01696, allocations: 3.625 MB / 340.3 MB, free: 8.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.062983143143356]