Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.0007487/0.0007487, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001843, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006864/0.0006864, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009219/0.001608, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.122/1.122, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.23, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.3476/0.3476, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0315/0.3791, allocations: 13.24 MB / 292.8 MB, free: 6.379 MB / 282.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.194e-05, allocations: 4.344 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002571/0.002603, allocations: 1.813 MB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.003974, allocations: 1.025 MB / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.00407, allocations: 0 / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.004318, allocations: 39.7 kB / 297.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.004623, allocations: 103.4 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.00488, allocations: 83.55 kB / 297.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.005066, allocations: 99.66 kB / 297.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.005164, allocations: 11.97 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.00531, allocations: 75.83 kB / 297.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.005401, allocations: 31.89 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.005419, allocations: 4 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.005527, allocations: 47.86 kB / 297.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.005584, allocations: 19.88 kB / 297.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.005619, allocations: 15.94 kB / 297.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.005806, allocations: 91.67 kB / 297.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.00582, allocations: 4 kB / 297.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005821, allocations: 0 / 297.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.005832, allocations: 3.938 kB / 297.6 MB, free: 1.508 MB / 282.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.0004466/0.006278, allocations: 341 kB / 298 MB, free: 1.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.006312, allocations: 8.922 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.006348, allocations: 8.922 kB / 298 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.006504, allocations: 150.3 kB / 298.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.006521, allocations: 4.375 kB / 298.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.006544, allocations: 8.375 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.006659, allocations: 57.77 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.006669, allocations: 8.172 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.006677, allocations: 4.375 kB / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.006684, allocations: 3.938 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.533e-05/0.00671, allocations: 15.92 kB / 298.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.006922, allocations: 165.9 kB / 298.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.007016, allocations: 81.3 kB / 298.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.007037, allocations: 12.92 kB / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.007049, allocations: 4 kB / 298.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.00716, allocations: 66.14 kB / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.007162, allocations: 0 / 298.6 MB, free: 500 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003328/0.007495, allocations: 125.4 kB / 298.7 MB, free: 368 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.007526, allocations: 51.41 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.007645, allocations: 181.2 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.007666, allocations: 29.7 kB / 298.9 MB, free: 72 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.007716, allocations: 100.1 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.007744, allocations: 15.86 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.007777, allocations: 25.69 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.00786, allocations: 326.8 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.007884, allocations: 10.83 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.00791, allocations: 26.66 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.007961, allocations: 48.44 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007962, allocations: 0 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.621e-05/0.008058, allocations: 72.5 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.008075, allocations: 10.75 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.00808, allocations: 0 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.008095, allocations: 4 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.008175, allocations: 19.92 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.00818, allocations: 8.031 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.008214, allocations: 4.375 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.008221, allocations: 4 kB / 299.6 MB, free: 15.37 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 7.843e-05/0.008299, allocations: 116.6 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.008318, allocations: 15.92 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.008467, allocations: 71.08 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.008472, allocations: 8 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.008475, allocations: 3.984 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.008481, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.008801, allocations: 295.4 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.008805, allocations: 7.938 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.008839, allocations: 8 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.008854, allocations: 11.94 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008857, allocations: 0 / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.008867, allocations: 4 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.00887, allocations: 3.938 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008871, allocations: 0 / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.009004, allocations: 214.8 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.009023, allocations: 4 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.00907, allocations: 3.984 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.009101, allocations: 15.97 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.009117, allocations: 7.984 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.935e-05/0.009166, allocations: 47.66 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009166, allocations: 0 / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.009327, allocations: 23.98 kB / 300.5 MB, free: 14.46 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.001594/0.01092, allocations: 0.6117 MB / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.01105, allocations: 44.72 kB / 301.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.01107, allocations: 4 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.01111, allocations: 36.98 kB / 301.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01138, allocations: 187.7 kB / 301.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.01199, allocations: 224.1 kB / 301.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.01205, allocations: 63.34 kB / 301.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.01211, allocations: 16.97 kB / 301.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.0122, allocations: 75.34 kB / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.0122, allocations: 3.938 kB / 301.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Templates: time 0.004106/0.01631, allocations: 2.045 MB / 303.8 MB, free: 11.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1485402043908834]