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.0009993/0.0009993, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001116/0.001116, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 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 1.021/1.021, allocations: 177 MB / 204.8 MB, free: 5.586 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.2685/0.2685, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.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 1.523e-06/1.523e-06, allocations: 3.938 kB / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.329e-05, allocations: 6.25 kB / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002358/0.002381, allocations: 1.76 MB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.003986, allocations: 1.016 MB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.004066, allocations: 3.938 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.004366, allocations: 43.77 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.004646, allocations: 95.53 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.004792, allocations: 79.59 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004954, allocations: 115.6 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.005047, allocations: 4 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.017e-05/0.005127, allocations: 55.83 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.005204, allocations: 23.91 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.005225, allocations: 4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.474e-05/0.005309, allocations: 47.91 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.005371, allocations: 19.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.005416, allocations: 19.94 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.005607, allocations: 107.5 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005609, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00561, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005614, allocations: 0 / 382.2 MB, free: 14.61 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.0004426/0.006057, allocations: 447.9 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.006093, allocations: 8.031 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.006138, allocations: 20.84 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.006298, allocations: 149.1 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.87e-05/0.006317, allocations: 8.297 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.00634, allocations: 8.375 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.006458, allocations: 58.94 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.006467, allocations: 4.188 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.006477, allocations: 4.375 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006484, allocations: 3.938 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.00652, allocations: 15.98 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.006834, allocations: 279.8 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.006943, allocations: 63.08 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.006976, allocations: 11.69 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.006993, allocations: 8 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.474e-05/0.007088, allocations: 72.98 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.007089, allocations: 3.938 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004046/0.007494, allocations: 157.4 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.007528, allocations: 51.41 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.007673, allocations: 234.3 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007687, allocations: 25.7 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.007751, allocations: 154.9 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.007782, allocations: 27.78 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.007818, allocations: 31.31 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.007957, allocations: 0.5001 MB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.007984, allocations: 11.98 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.008023, allocations: 39.3 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/0.00808, allocations: 43.38 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008081, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001064/0.008187, allocations: 93.47 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.008201, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008206, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.008226, allocations: 12.02 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.008302, allocations: 16 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.008309, allocations: 3.938 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.008339, allocations: 4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.008346, allocations: 0 / 384.8 MB, free: 11.85 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 8.013e-05/0.008426, allocations: 167 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.008443, allocations: 15.89 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.00859, allocations: 107.1 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.008591, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.008595, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.008598, allocations: 4.375 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.008871, allocations: 392.9 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.008875, allocations: 4 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.008903, allocations: 16 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.008905, allocations: 0 / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.008914, allocations: 3.984 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008916, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008917, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.009052, allocations: 255.4 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.009063, allocations: 11.91 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.009079, allocations: 11.97 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.009119, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.009153, allocations: 7.984 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.009165, allocations: 0 / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.833e-05/0.009243, allocations: 179.1 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009243, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.009405, allocations: 23.94 kB / 385.9 MB, free: 10.59 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.0008797/0.01028, allocations: 428 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.0104, allocations: 67.53 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.0104, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.01044, allocations: 27.67 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01065, allocations: 27.61 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.011, allocations: 229.8 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.01104, allocations: 67.34 kB / 386.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.01108, allocations: 21.39 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.01111, allocations: 20.5 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01111, allocations: 0 / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of Templates: time 0.003758/0.01487, allocations: 1.866 MB / 388.7 MB, free: 7.941 MB / 362.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.177040180657059]