Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.000784/0.000784, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001883, 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.0007378/0.0007378, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000934/0.001672, 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 0.9302/0.9302, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1177/1.048, 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.2787/0.2787, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02789/0.3066, allocations: 13.23 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.519e-05, allocations: 4.922 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002832/0.002857, allocations: 1.813 MB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.004275, allocations: 1.021 MB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.004352, allocations: 7.938 kB / 297 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.004558, allocations: 39.7 kB / 297.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.004808, allocations: 99.42 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.005011, allocations: 79.55 kB / 297.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.005191, allocations: 107.6 kB / 297.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.008293, allocations: 8 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.008473, allocations: 82.61 kB / 297.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.008566, allocations: 23.92 kB / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.008586, allocations: 4 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.008704, allocations: 47.86 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.008757, allocations: 27.86 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.008791, allocations: 15.94 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.008991, allocations: 95.66 kB / 297.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.009001, allocations: 0 / 297.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.009002, allocations: 0 / 297.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.00901, allocations: 0 / 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.0004411/0.009452, allocations: 344.9 kB / 298 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.009485, allocations: 12.92 kB / 298 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.00952, allocations: 8.922 kB / 298 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.009677, allocations: 150.3 kB / 298.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.009692, allocations: 4.375 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.009711, allocations: 4.375 kB / 298.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.009818, allocations: 61.77 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.009827, allocations: 192 / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.009834, allocations: 384 / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.00984, allocations: 3.938 kB / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.009868, allocations: 19.92 kB / 298.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.01006, allocations: 162 kB / 298.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.01016, allocations: 89.27 kB / 298.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.01018, allocations: 8.859 kB / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.01019, allocations: 0 / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.662e-05/0.01029, allocations: 66.16 kB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.01029, allocations: 0 / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003271/0.01061, allocations: 125.4 kB / 298.7 MB, free: 372 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.01065, allocations: 59.41 kB / 298.7 MB, free: 300 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.01077, allocations: 173.3 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.01079, allocations: 29.69 kB / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.01084, allocations: 92.12 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.01088, allocations: 27.83 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.01091, allocations: 25.7 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.01101, allocations: 322.8 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.01103, allocations: 14.81 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.01106, allocations: 23.48 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/0.01112, allocations: 48.45 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01112, allocations: 0 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.01122, allocations: 72.56 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01124, allocations: 7.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.01125, allocations: 0 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01126, allocations: 3.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.01134, allocations: 19.94 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01135, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.01138, allocations: 8.359 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.01139, allocations: 0 / 299.6 MB, free: 15.38 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.544e-05/0.01146, allocations: 128.6 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.01149, allocations: 19.91 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.01161, allocations: 75.08 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01161, allocations: 4 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01161, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01162, allocations: 0 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.01187, allocations: 295.4 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01187, allocations: 3.938 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.01191, allocations: 12 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.01192, allocations: 7.953 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01192, allocations: 4.031 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.01193, allocations: 3.984 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01193, allocations: 4 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01193, allocations: 3.938 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.01206, allocations: 215 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01208, allocations: 4 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.01215, allocations: 0 / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.01218, allocations: 7.984 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01219, allocations: 7.938 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.401e-05/0.01224, allocations: 47.64 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01224, allocations: 4 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.01246, allocations: 27.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.00163/0.01409, allocations: 0.6128 MB / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.01421, allocations: 44.77 kB / 301.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.01422, allocations: 4 kB / 301.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/0.01427, allocations: 37 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.0003087/0.01458, allocations: 184.4 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.0005535/0.01513, allocations: 224 kB / 301.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.55e-05/0.01518, allocations: 67.33 kB / 301.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.01522, allocations: 17.16 kB / 301.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.0153, allocations: 63.38 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0153, allocations: 3.938 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.004242/0.01954, allocations: 2.064 MB / 303.8 MB, free: 11.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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: 2.88959473464638]