Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.001754/0.001754, 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.001813/0.001813, allocations: 160.9 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.042/1.042, allocations: 177 MB / 205.2 MB, free: 5.02 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.3011/0.3011, allocations: 34.85 MB / 296.6 MB, free: 476 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.83e-05, allocations: 10.33 kB / 326.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002576/0.002604, allocations: 1.81 MB / 327.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.003888, allocations: 1.006 MB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.003966, allocations: 0 / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.004269, allocations: 43.72 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.004551, allocations: 95.47 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.004735, allocations: 83.66 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.004895, allocations: 104.4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.004994, allocations: 11.97 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.005108, allocations: 51.84 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.0052, allocations: 31.89 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.005218, allocations: 4 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.005314, allocations: 51.86 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.005371, allocations: 27.86 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.005405, allocations: 19.92 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.005569, allocations: 99.66 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005572, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005573, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.005576, allocations: 0 / 329.5 MB, free: 3.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003711/0.005947, allocations: 325.5 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.005985, allocations: 8.031 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.006017, allocations: 8.922 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.006187, allocations: 158 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.006202, allocations: 384 / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.00622, allocations: 4.375 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.00633, allocations: 65.75 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.00634, allocations: 192 / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.006346, allocations: 4.375 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.006354, allocations: 3.938 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.006376, allocations: 4 kB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.006585, allocations: 173.9 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.564e-05/0.00667, allocations: 85.28 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.006698, allocations: 12.86 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.006711, allocations: 4 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.049e-05/0.006801, allocations: 66.2 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006802, allocations: 0 / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000291/0.007093, allocations: 113.5 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.007123, allocations: 59.39 kB / 330.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.007222, allocations: 172.3 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.007237, allocations: 29.7 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.007271, allocations: 104 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.007296, allocations: 23.8 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.007326, allocations: 29.62 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.007418, allocations: 322.8 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.007437, allocations: 10.83 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.007462, allocations: 26.06 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.007505, allocations: 40.53 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007506, allocations: 3.938 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.608e-05/0.007582, allocations: 76.42 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.007594, allocations: 7.938 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007599, allocations: 8.031 kB / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.007611, allocations: 0 / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.007677, allocations: 19.92 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.007679, allocations: 0 / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.007708, allocations: 8 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.007714, allocations: 4 kB / 331.4 MB, free: 1.449 MB / 298.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 (10): * Single equations (assignments): 10 * 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 6.283e-05/0.007777, allocations: 116.7 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.007793, allocations: 19.92 kB / 331.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.007895, allocations: 75.06 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007897, allocations: 0 / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.007898, allocations: 4 kB / 331.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.007905, allocations: 0 / 331.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.008115, allocations: 295.6 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.008118, allocations: 3.938 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.008146, allocations: 15.98 kB / 331.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008149, allocations: 0 / 331.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.008155, allocations: 0 / 331.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.008158, allocations: 4 kB / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008159, allocations: 0 / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.00826, allocations: 215.1 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.008274, allocations: 19.83 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.008289, allocations: 0 / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.008329, allocations: 4 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.008358, allocations: 11.98 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.008369, allocations: 0 / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.554e-05/0.008415, allocations: 60.69 kB / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008415, allocations: 0 / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.00857, allocations: 23.94 kB / 332.3 MB, free: 0.5234 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001327/0.009897, allocations: 0.5687 MB / 332.8 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.00999, allocations: 36.84 kB / 332.9 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.009993, allocations: 0 / 332.9 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.01002, allocations: 24.8 kB / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.01021, allocations: 47.72 kB / 332.9 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.01052, allocations: 227.9 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.088e-05/0.01061, allocations: 71.27 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.926e-05/0.01064, allocations: 21.27 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.01071, allocations: 67.36 kB / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01071, allocations: 0 / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of Templates: time 0.003679/0.01439, allocations: 2.018 MB / 335.3 MB, free: 13.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.0143244499340653]