Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.001721/0.001721, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.002106/0.002106, allocations: 217.7 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 75.81 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2882, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004276/0.2924, allocations: 2.153 MB / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2935, allocations: 0.5843 MB / 434.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2937, allocations: 7.938 kB / 434.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.2938, allocations: 31.66 kB / 434.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.294, allocations: 55.5 kB / 434.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.2942, allocations: 51.92 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.2944, allocations: 199.1 kB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.2946, allocations: 57.64 kB / 435.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.2947, allocations: 79.72 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2949, allocations: 79.62 kB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.2949, allocations: 16 kB / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.394e-05/0.295, allocations: 20 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.295, allocations: 35.86 kB / 435.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2951, allocations: 95.52 kB / 435.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.2954, allocations: 216.7 kB / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2954, allocations: 0 / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2954, allocations: 0 / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.2954, allocations: 0 / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000841/0.2963, allocations: 474.7 kB / 436.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2963, allocations: 12.03 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.2964, allocations: 16.84 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.2968, allocations: 232 kB / 436.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2968, allocations: 12.16 kB / 436.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.2968, allocations: 20.38 kB / 436.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.2971, allocations: 149.9 kB / 436.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.2972, allocations: 11.92 kB / 436.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.2972, allocations: 8 kB / 436.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2972, allocations: 4 kB / 436.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.2974, allocations: 107.7 kB / 436.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.2984, allocations: 0.585 MB / 437.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.2986, allocations: 109.3 kB / 437.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.2987, allocations: 44.83 kB / 437.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2988, allocations: 3.938 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.2988, allocations: 30.56 kB / 437.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2988, allocations: 4 kB / 437.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001603/0.3004, allocations: 0.7999 MB / 438.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.3005, allocations: 55.41 kB / 438.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.3006, allocations: 162.9 kB / 438.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3007, allocations: 29.7 kB / 438.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3008, allocations: 136.4 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.3008, allocations: 67.42 kB / 438.7 MB, free: 384 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.3009, allocations: 37.7 kB / 438.8 MB, free: 340 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3011, allocations: 326.8 kB / 439.1 MB, free: 4 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3012, allocations: 43.97 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3013, allocations: 83.34 kB / 439.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.3016, allocations: 123.4 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3016, allocations: 3.938 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004033/0.302, allocations: 210.2 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.302, allocations: 8 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.302, allocations: 0 / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.3022, allocations: 44.77 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3023, allocations: 27.98 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.3038, allocations: 1.528 MB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.3039, allocations: 11.97 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3039, allocations: 8 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.3041, allocations: 133.8 kB / 441.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3041, allocations: 15.89 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.3041, allocations: 21.19 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3041, allocations: 4 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3042, allocations: 3.938 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3042, allocations: 3.938 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.3051, allocations: 0.5839 MB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3051, allocations: 0 / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.3052, allocations: 36.11 kB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.3053, allocations: 32.84 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3053, allocations: 0 / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.3066, allocations: 1.482 MB / 443.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3066, allocations: 0 / 443.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.3072, allocations: 347 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.3073, allocations: 89.05 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3073, allocations: 4 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3074, allocations: 7.984 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3074, allocations: 11.98 kB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.3074, allocations: 8 kB / 443.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.3075, allocations: 124.1 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3075, allocations: 0 / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3078, allocations: 44 kB / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/0.308, allocations: 107.1 kB / 444.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.3085, allocations: 243.5 kB / 444.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3085, allocations: 4.125 kB / 444.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.3088, allocations: 182.6 kB / 444.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3091, allocations: 27.89 kB / 444.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.3101, allocations: 0.5064 MB / 445.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.3105, allocations: 0.7281 MB / 445.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.737e-05/0.3106, allocations: 17.55 kB / 445.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.3106, allocations: 15.44 kB / 445.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3106, allocations: 0 / 445.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of Templates: time 0.005416/0.316, allocations: 1.935 MB / 447.9 MB, free: 6.727 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.485186260193586]