Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 55.91 kB / 348.4 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.283, allocations: 49.16 MB / 397.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003058/0.286, allocations: 2.135 MB / 399.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.2869, allocations: 0.5945 MB / 400.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.287, allocations: 8.5 kB / 400.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.2872, allocations: 31.5 kB / 400.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/0.2873, allocations: 53.61 kB / 400.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2875, allocations: 53.33 kB / 400.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.2877, allocations: 210.4 kB / 400.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.2878, allocations: 50.5 kB / 400.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.2879, allocations: 76.97 kB / 400.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.2881, allocations: 87.16 kB / 400.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.2881, allocations: 16.31 kB / 400.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-05/0.2881, allocations: 17.31 kB / 400.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.2882, allocations: 38.33 kB / 401 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.2883, allocations: 90.42 kB / 401 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.2885, allocations: 218.6 kB / 401.3 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2885, allocations: 4 kB / 401.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2885, allocations: 0.9688 kB / 401.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2885, allocations: 0 / 401.3 MB, free: 7.098 MB / 318.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.0006009/0.2891, allocations: 397.9 kB / 401.7 MB, free: 6.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2892, allocations: 14.05 kB / 401.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.2892, allocations: 23.09 kB / 401.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.2895, allocations: 164.9 kB / 401.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.2895, allocations: 15.5 kB / 401.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.2896, allocations: 24.23 kB / 401.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.2899, allocations: 156.4 kB / 402 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2899, allocations: 2.234 kB / 402 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2899, allocations: 5.531 kB / 402 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.2899, allocations: 4.344 kB / 402.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.2901, allocations: 106.1 kB / 402.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/0.2909, allocations: 0.5555 MB / 402.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2911, allocations: 108.9 kB / 402.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.196e-05/0.2912, allocations: 38.31 kB / 402.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2912, allocations: 2.25 kB / 402.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2913, allocations: 35.94 kB / 402.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2913, allocations: 0 / 402.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00133/0.2926, allocations: 0.6552 MB / 403.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2926, allocations: 57.31 kB / 403.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2927, allocations: 157.6 kB / 403.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.2927, allocations: 26.67 kB / 403.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.2928, allocations: 126.7 kB / 403.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.2929, allocations: 69.75 kB / 404 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.2929, allocations: 35.31 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.293, allocations: 334.9 kB / 404.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.2931, allocations: 41.95 kB / 404.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2932, allocations: 72.84 kB / 404.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.2934, allocations: 134 kB / 404.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.2934, allocations: 4 kB / 404.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003519/0.2937, allocations: 211.4 kB / 404.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2937, allocations: 5.469 kB / 404.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2938, allocations: 1.094 kB / 404.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.2939, allocations: 40.34 kB / 404.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2941, allocations: 38.94 kB / 404.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009357/0.295, allocations: 1.429 MB / 406.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.029e-05/0.2951, allocations: 12.19 kB / 406.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.2951, allocations: 4.703 kB / 406.3 MB, free: 3.078 MB / 318.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 9.133e-05/0.2952, allocations: 132.8 kB / 406.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2952, allocations: 14.41 kB / 406.5 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.2953, allocations: 22.77 kB / 406.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.2953, allocations: 2.25 kB / 406.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2953, allocations: 1.062 kB / 406.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2953, allocations: 9.438 kB / 406.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.296, allocations: 0.5437 MB / 407 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.296, allocations: 0 / 407 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.2962, allocations: 32.47 kB / 407.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.2963, allocations: 30.09 kB / 407.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2963, allocations: 9.062 kB / 407.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000773/0.2971, allocations: 1.38 MB / 408.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2971, allocations: 0.8438 kB / 408.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.2975, allocations: 336.6 kB / 408.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.2975, allocations: 16.36 kB / 408.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.2975, allocations: 6.25 kB / 408.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2976, allocations: 7.734 kB / 408.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.2977, allocations: 15.05 kB / 408.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2977, allocations: 4.109 kB / 408.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.768e-05/0.2978, allocations: 121.7 kB / 409 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2978, allocations: 0 / 409 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.2981, allocations: 45.75 kB / 409 MB, free: 0.8047 MB / 318.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 9.61e-05/0.2982, allocations: 101 kB / 409.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.2986, allocations: 254.7 kB / 409.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2986, allocations: 0 / 409.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.2989, allocations: 188.4 kB / 409.6 MB, free: 420 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.2992, allocations: 25.05 kB / 409.6 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.3, allocations: 0.5197 MB / 410.1 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.3004, allocations: 0.7301 MB / 410.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.3005, allocations: 15.69 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3005, allocations: 0 / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of Templates: time 0.005587/0.3061, allocations: 2.905 MB / 413.8 MB, free: 14.44 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.770441041095182]