Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001377/0.001377, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001391/0.001391, allocations: 168.9 kB / 24.91 MB, free: 8.762 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.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.422 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.2864/0.2864, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.51e-07/7.51e-07, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.726e-06/9.477e-06, allocations: 2.312 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001925/0.001934, allocations: 1.771 MB / 327.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003032, allocations: 1.006 MB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.003084, allocations: 0 / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.003282, allocations: 59.69 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.0035, allocations: 103.5 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.003657, allocations: 79.59 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.003776, allocations: 103.7 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.003835, allocations: 15.97 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.003907, allocations: 51.78 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.003962, allocations: 31.91 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.003972, allocations: 4 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.004035, allocations: 43.92 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.004073, allocations: 31.86 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.004102, allocations: 23.91 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.004237, allocations: 111.6 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.004239, allocations: 0 / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004239, allocations: 0 / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.004242, allocations: 0 / 329.4 MB, free: 3.645 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.000316/0.004558, allocations: 353.2 kB / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.5e-05/0.004583, allocations: 8.031 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.004612, allocations: 16.92 kB / 329.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.004741, allocations: 158.4 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.004755, allocations: 8.375 kB / 330 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.004768, allocations: 384 / 330 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.00485, allocations: 57.77 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.00486, allocations: 8.172 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.004866, allocations: 4.375 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004871, allocations: 3.938 kB / 330 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.249e-05/0.004894, allocations: 15.86 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.005062, allocations: 166 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.005138, allocations: 93.28 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.005155, allocations: 12.86 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.005163, allocations: 0 / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.015e-05/0.005233, allocations: 66.16 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.005234, allocations: 0 / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000241/0.005475, allocations: 117.5 kB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.005502, allocations: 51.41 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.005616, allocations: 216 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.005628, allocations: 29.7 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.005659, allocations: 100.1 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.005681, allocations: 27.78 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.005706, allocations: 21.7 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.005776, allocations: 326.8 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.005792, allocations: 14.81 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.005812, allocations: 21.7 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.005852, allocations: 48.45 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.005853, allocations: 0 / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.723e-05/0.00592, allocations: 72.86 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.005931, allocations: 15.88 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.005934, allocations: 0 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.005944, allocations: 0 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.005996, allocations: 20 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.005999, allocations: 0 / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.006025, allocations: 7.984 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.006029, allocations: 0 / 331.4 MB, free: 1.441 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 5.508e-05/0.006084, allocations: 116.7 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.006098, allocations: 15.92 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/0.006189, allocations: 83.86 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.006191, allocations: 0 / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.006193, allocations: 3.984 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006196, allocations: 0 / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.006387, allocations: 291.4 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.006391, allocations: 7.938 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.006418, allocations: 15.98 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006419, allocations: 3.938 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.006425, allocations: 0 / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.006427, allocations: 4.234 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.006429, allocations: 7.969 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.062e-05/0.006519, allocations: 207.1 kB / 332.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.006534, allocations: 23.81 kB / 332.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.006551, allocations: 8 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.006588, allocations: 0 / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.006609, allocations: 11.92 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.006619, allocations: 4 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.938e-05/0.006678, allocations: 76.8 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006678, allocations: 0 / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.00682, allocations: 27.92 kB / 332.3 MB, free: 488 kB / 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.001248/0.008067, allocations: 0.5621 MB / 332.9 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.859e-05/0.008166, allocations: 44.77 kB / 332.9 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.00817, allocations: 64 / 332.9 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.0082, allocations: 28.84 kB / 333 MB, free: 116 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.008384, allocations: 38.95 kB / 333 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.008729, allocations: 248.6 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.008776, allocations: 75.33 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.008811, allocations: 21.27 kB / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.008873, allocations: 67.36 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008874, allocations: 4.062 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of Templates: time 0.003402/0.01228, allocations: 2.036 MB / 335.4 MB, free: 13.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.0137886218726635]