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.001291/0.001291, allocations: 113.8 kB / 19.17 MB, free: 3.895 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.001412/0.001412, allocations: 212.9 kB / 22.13 MB, free: 0.9414 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.433/1.433, allocations: 230.4 MB / 255.4 MB, free: 15.03 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.001935/0.001935, allocations: 71.83 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.32 MB / 428 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003592/0.1088, allocations: 2.139 MB / 430.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1099, allocations: 0.5804 MB / 430.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.11, allocations: 4 kB / 430.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1102, allocations: 35.66 kB / 430.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.1103, allocations: 47.5 kB / 430.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1105, allocations: 55.88 kB / 430.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.1108, allocations: 215 kB / 431.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1109, allocations: 53.64 kB / 431.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.111, allocations: 67.78 kB / 431.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1112, allocations: 83.62 kB / 431.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.1112, allocations: 16 kB / 431.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.573e-05/0.1112, allocations: 16 kB / 431.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.1113, allocations: 35.86 kB / 431.4 MB, free: 1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1114, allocations: 95.52 kB / 431.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1117, allocations: 215.1 kB / 431.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1117, allocations: 7.938 kB / 431.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1117, allocations: 0 / 431.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1117, allocations: 0 / 431.7 MB, free: 0.6875 MB / 350.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.0007251/0.1124, allocations: 474.7 kB / 432.2 MB, free: 180 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1125, allocations: 8.031 kB / 432.2 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.1125, allocations: 20.84 kB / 432.2 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1793/0.2918, allocations: 225.3 kB / 432.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2918, allocations: 16 kB / 432.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.2919, allocations: 16.31 kB / 432.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.2922, allocations: 148.4 kB / 432.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2923, allocations: 3.281 kB / 432.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.2923, allocations: 7.375 kB / 432.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2923, allocations: 4.484 kB / 432.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.2925, allocations: 112.7 kB / 432.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.2933, allocations: 0.5886 MB / 433.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.2935, allocations: 109.4 kB / 433.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.2936, allocations: 38.53 kB / 433.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2936, allocations: 3.125 kB / 433.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.2936, allocations: 34.34 kB / 433.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.2936, allocations: 0 / 433.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001356/0.295, allocations: 0.7963 MB / 434.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.295, allocations: 56.48 kB / 434.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2951, allocations: 160.3 kB / 434.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2951, allocations: 32.02 kB / 434.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.2952, allocations: 127.7 kB / 434.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.2952, allocations: 74.06 kB / 434.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.2953, allocations: 35.14 kB / 434.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.2953, allocations: 323.7 kB / 435.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.99e-05/0.2954, allocations: 43 kB / 435.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2955, allocations: 88.55 kB / 435.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.2957, allocations: 134 kB / 435.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2957, allocations: 0 / 435.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000339/0.296, allocations: 200.4 kB / 435.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.296, allocations: 8.25 kB / 435.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.296, allocations: 4.5 kB / 435.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.2962, allocations: 41.61 kB / 435.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2963, allocations: 31.42 kB / 435.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000892/0.2972, allocations: 1.535 MB / 437.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.2973, allocations: 7.109 kB / 437.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2973, allocations: 7.594 kB / 437.2 MB, free: 8.27 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 8.421e-05/0.2974, allocations: 136.1 kB / 437.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.2974, allocations: 18.03 kB / 437.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.2975, allocations: 19.25 kB / 437.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2975, allocations: 6.344 kB / 437.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2975, allocations: 5.328 kB / 437.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2975, allocations: 1.594 kB / 437.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.2982, allocations: 0.5768 MB / 437.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2982, allocations: 1.844 kB / 437.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.2983, allocations: 32.23 kB / 437.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.2984, allocations: 37.34 kB / 438 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2984, allocations: 1.188 kB / 438 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007514/0.2992, allocations: 1.484 MB / 439.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2992, allocations: 1.031 kB / 439.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.2996, allocations: 338.7 kB / 439.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.2996, allocations: 93.64 kB / 439.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.2996, allocations: 2.469 kB / 439.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2998, allocations: 9.016 kB / 439.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.2998, allocations: 12.03 kB / 439.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2998, allocations: 7.188 kB / 439.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.694e-05/0.2999, allocations: 122.6 kB / 440 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2999, allocations: 4.062 kB / 440 MB, free: 5.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3002, allocations: 42.25 kB / 440.1 MB, free: 5.777 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.0001008/0.3003, allocations: 106 kB / 440.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004524/0.3007, allocations: 255.5 kB / 440.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3007, allocations: 0 / 440.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.3009, allocations: 188.5 kB / 440.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3013, allocations: 31.16 kB / 440.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.3021, allocations: 0.5252 MB / 441.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3023, allocations: 0.7247 MB / 441.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.3023, allocations: 16.28 kB / 441.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3023, allocations: 0 / 441.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of Templates: time 0.00537/0.3077, allocations: 2.904 MB / 444.8 MB, free: 4.07 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.2431426090188324]