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.001922/0.001922, allocations: 113.9 kB / 21.17 MB, free: 0.7812 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.001979/0.001979, allocations: 220.1 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.399/1.399, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.001936/0.001936, allocations: 67.84 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2784, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003569/0.2819, allocations: 2.153 MB / 434.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.283, allocations: 0.5766 MB / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2831, allocations: 11.88 kB / 434.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.2832, allocations: 31.72 kB / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2833, allocations: 51.48 kB / 434.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.2835, allocations: 51.94 kB / 434.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.2838, allocations: 211.1 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.284, allocations: 49.67 kB / 435.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.56e-05/0.2841, allocations: 79.66 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2842, allocations: 87.55 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.2842, allocations: 16 kB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.964e-05/0.2843, allocations: 16 kB / 435.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.2843, allocations: 31.92 kB / 435.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.2844, allocations: 95.53 kB / 435.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.2847, allocations: 212.7 kB / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2847, allocations: 0 / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2847, allocations: 4 kB / 435.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2847, allocations: 4 kB / 435.7 MB, free: 3.719 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.000728/0.2854, allocations: 470.7 kB / 436.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2855, allocations: 12.03 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.2855, allocations: 20.83 kB / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.2859, allocations: 224 kB / 436.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2859, allocations: 24.16 kB / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.2859, allocations: 16.38 kB / 436.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.2863, allocations: 153.9 kB / 436.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.2863, allocations: 4 kB / 436.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2863, allocations: 8 kB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2863, allocations: 4 kB / 436.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.2866, allocations: 107.7 kB / 436.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009396/0.2875, allocations: 0.585 MB / 437.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.2878, allocations: 106.6 kB / 437.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2879, allocations: 47.33 kB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2879, allocations: 0 / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.2879, allocations: 38.56 kB / 437.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.2879, allocations: 0 / 437.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.00169/0.2896, allocations: 0.801 MB / 438.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2897, allocations: 55.41 kB / 438.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.2898, allocations: 162.9 kB / 438.5 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2898, allocations: 25.7 kB / 438.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.29, allocations: 140.3 kB / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.29, allocations: 63.44 kB / 438.7 MB, free: 408 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.2901, allocations: 37.7 kB / 438.8 MB, free: 364 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2903, allocations: 330.8 kB / 439.1 MB, free: 24 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2904, allocations: 47.97 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2905, allocations: 71.41 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.2908, allocations: 128.3 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2908, allocations: 0 / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004073/0.2912, allocations: 221.3 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2912, allocations: 8 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2912, allocations: 0 / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.2914, allocations: 40.83 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2915, allocations: 27.98 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.2931, allocations: 1.528 MB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.2932, allocations: 16.03 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2932, allocations: 4 kB / 441.2 MB, free: 13.77 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.0001462/0.2933, allocations: 133.8 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.2934, allocations: 15.91 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.2934, allocations: 21.19 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2934, allocations: 0 / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2934, allocations: 4 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2934, allocations: 3.938 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.2943, allocations: 0.5878 MB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2943, allocations: 0 / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2944, allocations: 32.17 kB / 442 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.2946, allocations: 32.88 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2946, allocations: 8 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.2959, allocations: 1.474 MB / 443.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2959, allocations: 4.062 kB / 443.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.2964, allocations: 343 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.2965, allocations: 89.05 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.2965, allocations: 4 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.2966, allocations: 7.984 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.2967, allocations: 20.05 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2967, allocations: 0 / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.2968, allocations: 124.1 kB / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2968, allocations: 0 / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.2971, allocations: 48 kB / 444.1 MB, free: 10.58 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.0001507/0.2972, allocations: 107.1 kB / 444.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.2978, allocations: 242.6 kB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2978, allocations: 0 / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.298, allocations: 190.6 kB / 444.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.2984, allocations: 36.06 kB / 444.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2994, allocations: 0.5237 MB / 445.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.2998, allocations: 0.7359 MB / 445.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.2999, allocations: 15.44 kB / 445.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2999, allocations: 0 / 445.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of Templates: time 0.005066/0.3049, allocations: 2.907 MB / 448.8 MB, free: 5.738 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 -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: 7.232806040905416]