Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.0007612/0.0007612, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001812, allocations: 449.7 kB / 10.37 MB, free: 324 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.001025/0.001025, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.00227, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9824/0.9824, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09551/1.078, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2777/0.2777, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02372/0.3014, allocations: 13.22 MB / 292.6 MB, free: 6.477 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.606e-05, allocations: 4.141 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002012/0.002028, allocations: 1.802 MB / 295.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003279, allocations: 1.029 MB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.003347, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.003524, allocations: 39.72 kB / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.003727, allocations: 87.53 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.00388, allocations: 83.66 kB / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.004025, allocations: 107.6 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.004101, allocations: 11.98 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.004215, allocations: 79.81 kB / 297.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.004303, allocations: 31.84 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.004318, allocations: 4 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.0044, allocations: 43.92 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.00444, allocations: 15.92 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.004476, allocations: 15.94 kB / 297.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.004626, allocations: 95.61 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.004638, allocations: 4 kB / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004639, allocations: 0 / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.004652, allocations: 0 / 297.4 MB, free: 1.641 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.0003878/0.00504, allocations: 337 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.005068, allocations: 12.92 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.005096, allocations: 12.88 kB / 297.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.005241, allocations: 146.3 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.005257, allocations: 8.359 kB / 297.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.005272, allocations: 384 / 297.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.291e-05/0.005364, allocations: 65.77 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005372, allocations: 192 / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-06/0.005378, allocations: 384 / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005383, allocations: 3.938 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.628e-05/0.005409, allocations: 15.94 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.005586, allocations: 169.9 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.62e-05/0.005672, allocations: 85.36 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.005691, allocations: 16.84 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.005701, allocations: 0 / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.949e-05/0.005791, allocations: 66.2 kB / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.005792, allocations: 0 / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002596/0.006051, allocations: 117.4 kB / 298.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/0.00614, allocations: 51.41 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.006243, allocations: 185.2 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.006255, allocations: 25.7 kB / 298.7 MB, free: 216 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.006285, allocations: 100.1 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.006306, allocations: 23.84 kB / 298.8 MB, free: 88 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.006335, allocations: 21.7 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.006408, allocations: 326.8 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.006424, allocations: 10.83 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.006444, allocations: 22.64 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.006481, allocations: 40.59 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.006482, allocations: 0 / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.484e-05/0.006547, allocations: 76.42 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.006557, allocations: 10.44 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.006561, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.006568, allocations: 4 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.006627, allocations: 23.92 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.00663, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.006654, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.00666, allocations: 4 kB / 299.3 MB, free: 15.52 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.367e-05/0.006713, allocations: 121.4 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.868e-06/0.006723, allocations: 15.97 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-05/0.006812, allocations: 79.62 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006813, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006815, allocations: 4 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.006817, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.007004, allocations: 287.4 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.007008, allocations: 12.3 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.007033, allocations: 11.98 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.007042, allocations: 11.89 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007044, allocations: 0 / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.007054, allocations: 16.03 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007055, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007056, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.007157, allocations: 222.6 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.007172, allocations: 8 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.007208, allocations: 0 / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.007232, allocations: 7.984 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.007242, allocations: 4 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.758e-05/0.00728, allocations: 51.62 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00728, allocations: 4 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.007419, allocations: 24 kB / 300.2 MB, free: 14.59 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.001377/0.008796, allocations: 0.6045 MB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.891e-05/0.008875, allocations: 52.75 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.008881, allocations: 0 / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.008906, allocations: 24.8 kB / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.009082, allocations: 43.03 kB / 300.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.009477, allocations: 228 kB / 301.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.009518, allocations: 67.33 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.009553, allocations: 17.09 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.009611, allocations: 71.38 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009611, allocations: 0 / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003382/0.01299, allocations: 2.053 MB / 303.4 MB, free: 11.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.84110707975924]