Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.001341/0.001341, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001505/0.001505, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 0.9595/0.9595, allocations: 177 MB / 205.2 MB, free: 5.523 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.2507/0.2507, allocations: 34.87 MB / 296.6 MB, free: 0.5234 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.684e-05, allocations: 2.312 kB / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002124/0.002141, allocations: 1.756 MB / 380.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.003309, allocations: 1.009 MB / 381.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.003391, allocations: 3.938 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.003652, allocations: 43.59 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.003939, allocations: 95.53 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.004137, allocations: 79.59 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004299, allocations: 111.6 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.004384, allocations: 8 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.004467, allocations: 55.83 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.004536, allocations: 27.91 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.00455, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.004633, allocations: 47.91 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.004682, allocations: 23.92 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.00472, allocations: 15.94 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.004894, allocations: 103.5 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.004896, allocations: 4 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004897, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.004902, allocations: 4 kB / 382.2 MB, free: 14.91 MB / 362.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.000442/0.005344, allocations: 443.9 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.005381, allocations: 12.03 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.005431, allocations: 12.84 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.005597, allocations: 153.1 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.005615, allocations: 8.359 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005634, allocations: 8.312 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.005755, allocations: 66.94 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005764, allocations: 192 / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.005772, allocations: 384 / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005779, allocations: 7.938 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.005814, allocations: 11.98 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.006104, allocations: 283.8 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.006207, allocations: 55.09 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.006236, allocations: 19.69 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006246, allocations: 0 / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.797e-05/0.006344, allocations: 68.98 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.006345, allocations: 0 / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003557/0.006701, allocations: 153.4 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.006733, allocations: 67.33 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.006863, allocations: 234.3 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.006875, allocations: 25.7 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.006927, allocations: 154.9 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.006952, allocations: 23.78 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.006981, allocations: 27.38 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.007091, allocations: 0.5 MB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.007115, allocations: 11.98 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.007149, allocations: 35.36 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.007202, allocations: 47.38 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007204, allocations: 4 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001076/0.007312, allocations: 97.47 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.007323, allocations: 4 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.007326, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.007337, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.007407, allocations: 19.98 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.007413, allocations: 3.938 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.007439, allocations: 0 / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.007445, allocations: 4 kB / 384.7 MB, free: 12.17 MB / 362.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 6.644e-05/0.007511, allocations: 168.6 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.007528, allocations: 20.27 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.007665, allocations: 99.06 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.007668, allocations: 4 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.00767, allocations: 0 / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.007675, allocations: 4 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.007948, allocations: 396.9 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00795, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.007974, allocations: 8 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007978, allocations: 8.031 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.007985, allocations: 3.984 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.007986, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.007987, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.008121, allocations: 255.4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.008134, allocations: 19.89 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.008154, allocations: 4 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.008194, allocations: 0 / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.008222, allocations: 11.92 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.008234, allocations: 8 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.251e-05/0.008307, allocations: 171.1 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008307, allocations: 7.938 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.008476, allocations: 23.94 kB / 385.9 MB, free: 10.89 MB / 362.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.0008642/0.00934, allocations: 435.2 kB / 386.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.009457, allocations: 55.53 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009459, allocations: 0 / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.009497, allocations: 31.67 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.009725, allocations: 27.34 kB / 386.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.01004, allocations: 233.9 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.01008, allocations: 67.34 kB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.01012, allocations: 17.27 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.01015, allocations: 16.5 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01015, allocations: 0 / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003346/0.0135, allocations: 1.859 MB / 388.6 MB, free: 8.262 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.073794946074486]