Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001248/0.001248, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001055/0.001055, allocations: 161 kB / 24.82 MB, free: 8.922 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 0.9488/0.9488, allocations: 177 MB / 205.1 MB, free: 5.48 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.248/0.248, allocations: 34.87 MB / 296.6 MB, free: 448 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.222e-05, allocations: 3.016 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002559/0.002592, allocations: 1.71 MB / 381 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003971, allocations: 0.989 MB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.004078, allocations: 0 / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.004423, allocations: 55.69 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.004847, allocations: 111.5 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.0051, allocations: 71.67 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.005322, allocations: 107.6 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.005377, allocations: 4.219 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.005495, allocations: 51.84 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.442e-05/0.005579, allocations: 27.91 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.005596, allocations: 4 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.005688, allocations: 27.98 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.005742, allocations: 31.86 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.005796, allocations: 15.94 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.006005, allocations: 103.5 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.006009, allocations: 4 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.006011, allocations: 0 / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.006017, allocations: 0 / 382.6 MB, free: 14.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004544/0.006471, allocations: 471.7 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.006508, allocations: 11.97 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.00655, allocations: 16.84 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.00673, allocations: 169.2 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.006751, allocations: 384 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.00676, allocations: 8.312 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.006875, allocations: 54.94 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.006883, allocations: 4.188 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.006892, allocations: 384 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.006899, allocations: 3.938 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.006921, allocations: 7.984 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.007047, allocations: 113.3 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.007131, allocations: 55.03 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.007151, allocations: 15.67 kB / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.007166, allocations: 0 / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.168e-05/0.007258, allocations: 69.05 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 6.41e-07/0.007259, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001664/0.007425, allocations: 81.53 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.007456, allocations: 59.39 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.0076, allocations: 269.5 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.007611, allocations: 25.7 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.007676, allocations: 170.8 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.007705, allocations: 11.91 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.007737, allocations: 23.38 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.007856, allocations: 0.504 MB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.007873, allocations: 4 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-05/0.0079, allocations: 35.34 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/0.007938, allocations: 35.31 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00794, allocations: 0 / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.22e-05/0.008022, allocations: 77.53 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.008035, allocations: 4 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.00804, allocations: 320 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008052, allocations: 4 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.008113, allocations: 15.98 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.008116, allocations: 3.938 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.008147, allocations: 8.031 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.008151, allocations: 0 / 384.9 MB, free: 11.88 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 (7): * Single equations (assignments): 7 * 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.602e-05/0.008227, allocations: 168.5 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.008242, allocations: 15.91 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.008358, allocations: 86.75 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00836, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.008362, allocations: 3.938 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.008367, allocations: 7.938 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.994e-05/0.008456, allocations: 125.2 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008458, allocations: 0 / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.008479, allocations: 11.98 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.00848, allocations: 0 / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.008486, allocations: 4 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.008488, allocations: 0 / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.00849, allocations: 0 / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.008592, allocations: 124.2 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.008608, allocations: 15.84 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.008623, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.414e-05/0.008647, allocations: 4 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.008672, allocations: 7.984 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.008682, allocations: 4 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.516e-05/0.008757, allocations: 184.5 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008758, allocations: 0 / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.0089, allocations: 16 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008541/0.009754, allocations: 380.8 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.00986, allocations: 43.61 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009861, allocations: 0 / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.009891, allocations: 23.67 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.01009, allocations: 27.97 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.01045, allocations: 230.6 kB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.01049, allocations: 71.33 kB / 386.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.833e-05/0.01053, allocations: 24.52 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.01059, allocations: 86.19 kB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01059, allocations: 4 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003502/0.01409, allocations: 1.8 MB / 388.4 MB, free: 8.461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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: 2.9286787142045796]