Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.00108/0.00108, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002658, 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.001105/0.001105, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002476, 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.9951/0.9951, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09872/1.094, allocations: 53.87 MB / 243.8 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.2632/0.2632, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.026/0.2892, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.192e-05, allocations: 8.281 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002248/0.00226, allocations: 1.821 MB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.003611, allocations: 1.029 MB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.003689, allocations: 3.938 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.003866, allocations: 39.77 kB / 296.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.004088, allocations: 111.4 kB / 297 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.004245, allocations: 75.67 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004417, allocations: 135.6 kB / 297.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.00449, allocations: 7.984 kB / 297.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.00463, allocations: 95.73 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.004721, allocations: 39.89 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.004738, allocations: 11.94 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.004846, allocations: 67.84 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.004893, allocations: 19.94 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.00493, allocations: 19.94 kB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.005113, allocations: 123.6 kB / 297.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.005128, allocations: 0 / 297.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005128, allocations: 0 / 297.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.005143, allocations: 0 / 297.6 MB, free: 1.484 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004695/0.005612, allocations: 368.8 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.005642, allocations: 11.44 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.005676, allocations: 12.92 kB / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.005841, allocations: 146.1 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.005855, allocations: 384 / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.005875, allocations: 8.359 kB / 298.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.005998, allocations: 86.56 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006006, allocations: 192 / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.006015, allocations: 4.375 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.006023, allocations: 11.94 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.006071, allocations: 19.97 kB / 298.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.006305, allocations: 181.9 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.006483, allocations: 117.3 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.006511, allocations: 16.84 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.006522, allocations: 0 / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.006632, allocations: 74.2 kB / 298.6 MB, free: 360 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.006633, allocations: 0 / 298.6 MB, free: 360 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005525/0.007186, allocations: 206.4 kB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.00722, allocations: 55.41 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.007373, allocations: 172.3 kB / 299 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.007392, allocations: 29.7 kB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.007435, allocations: 100.3 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.00748, allocations: 47.61 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.007529, allocations: 29.7 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.00762, allocations: 330.8 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.007651, allocations: 14.83 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.007694, allocations: 40.02 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.738e-05/0.007771, allocations: 59.33 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007772, allocations: 0 / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001224/0.007895, allocations: 92.38 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.007908, allocations: 4 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007914, allocations: 7.984 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.007924, allocations: 0 / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.008017, allocations: 32.02 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008022, allocations: 3.984 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.008059, allocations: 4 kB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.008069, allocations: 4 kB / 299.8 MB, free: 15.07 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 (15): * Single equations (assignments): 15 * 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 8.029e-05/0.008149, allocations: 128.5 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.008171, allocations: 15.92 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.008345, allocations: 107 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008348, allocations: 0 / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.00835, allocations: 0 / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.008355, allocations: 7.984 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.008718, allocations: 349.4 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.008721, allocations: 4 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.008791, allocations: 23.98 kB / 300.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.008808, allocations: 11.91 kB / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.008813, allocations: 8 kB / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.008825, allocations: 7.984 kB / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.008828, allocations: 4 kB / 300.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.008829, allocations: 0 / 300.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.008997, allocations: 254.1 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.00902, allocations: 4 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.009108, allocations: 11.98 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.009138, allocations: 7.984 kB / 300.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.009153, allocations: 4 kB / 300.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.009212, allocations: 51.64 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009213, allocations: 0 / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.009461, allocations: 39.92 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001794/0.01125, allocations: 0.7101 MB / 301.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01137, allocations: 68.7 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.01138, allocations: 4 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.01143, allocations: 44.77 kB / 301.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.01165, allocations: 39.97 kB / 301.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.01215, allocations: 281.2 kB / 302 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.01219, allocations: 68.03 kB / 302 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.01225, allocations: 37.44 kB / 302.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.629e-05/0.01234, allocations: 79.36 kB / 302.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01234, allocations: 0 / 302.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of Templates: time 0.004955/0.0173, allocations: 2.611 MB / 304.7 MB, free: 10.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.883774833753705]