Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.0009817/0.0009817, 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.000956/0.000956, 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 0.9381/0.9381, allocations: 177 MB / 205.2 MB, free: 5.027 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.2536/0.2536, 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.228e-05, allocations: 5.125 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002442/0.002455, allocations: 1.759 MB / 327.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.003751, allocations: 1.006 MB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.003809, allocations: 0 / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.004048, allocations: 47.69 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.004304, allocations: 107.5 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.004465, allocations: 75.61 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.004613, allocations: 104.4 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.825e-05/0.004682, allocations: 23.89 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.004763, allocations: 51.83 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.004827, allocations: 23.92 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.004839, allocations: 4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.004918, allocations: 43.92 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.004962, allocations: 23.91 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.004995, allocations: 27.86 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.005152, allocations: 103.6 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.005153, allocations: 0 / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005154, allocations: 0 / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.005157, allocations: 0 / 329.4 MB, free: 3.668 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.000359/0.005516, allocations: 325.5 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.005545, allocations: 8.031 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.005577, allocations: 20.86 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.005724, allocations: 146.1 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.005739, allocations: 4.375 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.005757, allocations: 4.375 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.005855, allocations: 69.7 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005864, allocations: 192 / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.00587, allocations: 384 / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.005877, allocations: 3.938 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.005903, allocations: 11.98 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.006093, allocations: 165.9 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.006192, allocations: 89.3 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.006215, allocations: 12.86 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.006225, allocations: 4 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.259e-05/0.006308, allocations: 66.2 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.006309, allocations: 0 / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000278/0.006587, allocations: 117.5 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.006616, allocations: 51.41 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.006735, allocations: 180.2 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.006751, allocations: 29.7 kB / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.006786, allocations: 96.06 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.006813, allocations: 27.78 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.00685, allocations: 25.7 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003173/0.007167, allocations: 330.8 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.007187, allocations: 6.828 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.007217, allocations: 29.64 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/0.007269, allocations: 40.52 kB / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.00727, allocations: 0 / 331.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.007373, allocations: 72.44 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.007386, allocations: 11.94 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.00739, allocations: 0 / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.007403, allocations: 4.031 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.007471, allocations: 15.98 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.007474, allocations: 384 / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.007506, allocations: 4 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.007511, allocations: 0 / 331.3 MB, free: 1.555 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.56e-05/0.007576, allocations: 124.5 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.007596, allocations: 19.92 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.007705, allocations: 71.14 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.007708, allocations: 3.984 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.00771, allocations: 4 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007714, allocations: 4 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.007946, allocations: 283.6 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.00795, allocations: 7.938 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.007979, allocations: 15.94 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007981, allocations: 0 / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.007989, allocations: 3.984 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.00799, allocations: 80 / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.007994, allocations: 7.984 kB / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.008109, allocations: 208.8 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.008125, allocations: 19.83 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.008143, allocations: 8.031 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.008203, allocations: 11.97 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.008224, allocations: 4 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.008235, allocations: 3.984 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.537e-05/0.00829, allocations: 60.69 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00829, allocations: 0 / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.008503, allocations: 23.94 kB / 332.2 MB, free: 0.6133 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.00137/0.009872, allocations: 0.555 MB / 332.7 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.009953, allocations: 36.78 kB / 332.8 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.009956, allocations: 0 / 332.8 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.009991, allocations: 32.77 kB / 332.8 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.0102, allocations: 35.84 kB / 332.8 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.01052, allocations: 232 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.01056, allocations: 63.34 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.951e-05/0.0106, allocations: 25.2 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.01067, allocations: 75.34 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01067, allocations: 0 / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of Templates: time 0.003892/0.01456, allocations: 2.019 MB / 335.3 MB, free: 13.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.8019623020663857]