Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001085/0.001085, 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.001215/0.001215, 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 1.035/1.035, allocations: 177 MB / 204.8 MB, free: 5.566 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.3189/0.3189, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.176e-05, allocations: 8.922 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00237/0.002392, allocations: 1.941 MB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003788, allocations: 1.114 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.003881, allocations: 7.938 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.00428, allocations: 223.3 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.004668, allocations: 219 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.004909, allocations: 119.5 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.005164, allocations: 263.2 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.00527, allocations: 21.95 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.00542, allocations: 147.6 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.00557, allocations: 159.6 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.005591, allocations: 8 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.005703, allocations: 67.91 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.005777, allocations: 63.7 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.005834, allocations: 47.78 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.00607, allocations: 195.2 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006072, allocations: 4 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.006073, allocations: 0 / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.006077, allocations: 0 / 383.4 MB, free: 13.4 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.0005626/0.006639, allocations: 0.6002 MB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.006689, allocations: 8.031 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.006754, allocations: 36.75 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.006979, allocations: 228.5 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.007003, allocations: 16.36 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.007031, allocations: 4.375 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.007206, allocations: 114.3 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.007219, allocations: 8.141 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.007231, allocations: 384 / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.007239, allocations: 3.938 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.007299, allocations: 39.91 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.007776, allocations: 0.5064 MB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.008023, allocations: 118.1 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.008077, allocations: 39.42 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.008096, allocations: 4 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.008245, allocations: 120.3 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.008246, allocations: 0 / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007903/0.009036, allocations: 473.5 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.00908, allocations: 85.09 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.009351, allocations: 398.3 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.009371, allocations: 29.7 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.009475, allocations: 219.3 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.00953, allocations: 63.44 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.009582, allocations: 51.36 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.009738, allocations: 0.5274 MB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.009791, allocations: 39.97 kB / 387.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.009868, allocations: 80.91 kB / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.009996, allocations: 118.9 kB / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.009997, allocations: 4 kB / 387.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002252/0.01022, allocations: 205.2 kB / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.01024, allocations: 4 kB / 387.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.01024, allocations: 4 kB / 387.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01026, allocations: 8 kB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.01035, allocations: 47.92 kB / 387.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.01036, allocations: 3.984 kB / 387.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.0104, allocations: 15.92 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01042, allocations: 12 kB / 387.6 MB, free: 8.93 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 9.113e-05/0.01051, allocations: 164.6 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.01055, allocations: 47.69 kB / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.01082, allocations: 224.4 kB / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01083, allocations: 4 kB / 388 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01083, allocations: 4 kB / 388 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01083, allocations: 0 / 388 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.0114, allocations: 0.7528 MB / 388.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01141, allocations: 4 kB / 388.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.01146, allocations: 35.86 kB / 388.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.01147, allocations: 4 kB / 388.8 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01148, allocations: 11.98 kB / 388.9 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.01149, allocations: 4 kB / 388.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01149, allocations: 4.125 kB / 388.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.0118, allocations: 0.5104 MB / 389.4 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.01182, allocations: 31.77 kB / 389.4 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.01185, allocations: 11.98 kB / 389.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.01193, allocations: 8 kB / 389.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.01197, allocations: 19.97 kB / 389.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.01199, allocations: 11.98 kB / 389.5 MB, free: 6.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001698/0.01216, allocations: 275 kB / 389.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01216, allocations: 0 / 389.7 MB, free: 6.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.0124, allocations: 51.94 kB / 389.8 MB, free: 6.656 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.001035/0.01344, allocations: 494.8 kB / 390.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.01365, allocations: 131.4 kB / 390.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01365, allocations: 4.125 kB / 390.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/0.01373, allocations: 67.53 kB / 390.5 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.01408, allocations: 74.19 kB / 390.5 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.01466, allocations: 0.4935 MB / 391 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.763e-05/0.01473, allocations: 96.3 kB / 391.1 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.0148, allocations: 42.16 kB / 391.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.01486, allocations: 32.5 kB / 391.2 MB, free: 5.316 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01486, allocations: 0 / 391.2 MB, free: 5.316 MB / 362.7 MB Notification: Performance of Templates: time 0.005218/0.02008, allocations: 3.351 MB / 394.5 MB, free: 2.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.520315340254456]