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.00136/0.00136, allocations: 81.83 kB / 21.99 MB, free: 4.75 MB / 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.001436/0.001436, allocations: 157.8 kB / 25.24 MB, free: 2.742 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.402/1.402, allocations: 158.6 MB / 187 MB, free: 6.344 MB / 174.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.001872/0.001872, allocations: 63 kB / 299.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2132, allocations: 49.15 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003326/0.2165, allocations: 2.006 MB / 350.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.2175, allocations: 0.5734 MB / 351.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2176, allocations: 4 kB / 351.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.2177, allocations: 31.66 kB / 351.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2178, allocations: 51.55 kB / 351.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.218, allocations: 51.89 kB / 351.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.2182, allocations: 207 kB / 351.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2184, allocations: 57.55 kB / 351.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.736e-05/0.2185, allocations: 79.72 kB / 351.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.2186, allocations: 63.69 kB / 351.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.2186, allocations: 19.94 kB / 351.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.558e-05/0.2187, allocations: 16 kB / 351.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.2187, allocations: 39.91 kB / 351.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.2188, allocations: 71.67 kB / 351.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.2191, allocations: 217.5 kB / 352 MB, free: 12.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2191, allocations: 0 / 352 MB, free: 12.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2191, allocations: 4 kB / 352 MB, free: 12.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2191, allocations: 0 / 352 MB, free: 12.05 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.0006559/0.2197, allocations: 401.5 kB / 352.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2198, allocations: 11.98 kB / 352.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.2198, allocations: 28.8 kB / 352.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.2201, allocations: 166.2 kB / 352.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2201, allocations: 20.3 kB / 352.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.2202, allocations: 24.38 kB / 352.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.2205, allocations: 153.5 kB / 352.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2205, allocations: 0 / 352.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.2205, allocations: 12 kB / 352.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2205, allocations: 7.984 kB / 352.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.2208, allocations: 99.88 kB / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.2215, allocations: 483 kB / 353.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.2218, allocations: 110.6 kB / 353.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.2219, allocations: 40.84 kB / 353.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.2219, allocations: 0 / 353.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2219, allocations: 34.56 kB / 353.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.2219, allocations: 0 / 353.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001536/0.2235, allocations: 0.6634 MB / 354.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2235, allocations: 51.41 kB / 354.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2236, allocations: 137.8 kB / 354.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2237, allocations: 29.7 kB / 354.4 MB, free: 9.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.2238, allocations: 136.4 kB / 354.5 MB, free: 9.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.2238, allocations: 59.48 kB / 354.6 MB, free: 9.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.2239, allocations: 41.66 kB / 354.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.224, allocations: 322.8 kB / 354.9 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2241, allocations: 43.92 kB / 355 MB, free: 8.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2242, allocations: 75.41 kB / 355.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.2245, allocations: 135.5 kB / 355.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2245, allocations: 0 / 355.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000392/0.2249, allocations: 202.2 kB / 355.4 MB, free: 8.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2249, allocations: 11.92 kB / 355.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2249, allocations: 0 / 355.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.2251, allocations: 40.91 kB / 355.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.2252, allocations: 35.92 kB / 355.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.2265, allocations: 1.398 MB / 356.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.2266, allocations: 12.02 kB / 356.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2266, allocations: 8 kB / 356.9 MB, free: 6.75 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 0.00013/0.2268, allocations: 133.8 kB / 357 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.2268, allocations: 11.91 kB / 357 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.2269, allocations: 29 kB / 357.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2269, allocations: 0 / 357.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2269, allocations: 7.938 kB / 357.1 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2269, allocations: 3.984 kB / 357.1 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.2277, allocations: 0.4902 MB / 357.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2277, allocations: 0 / 357.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2278, allocations: 35.92 kB / 357.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.228, allocations: 32.83 kB / 357.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.228, allocations: 4 kB / 357.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.2292, allocations: 1.343 MB / 359 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2292, allocations: 7.922 kB / 359 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.2297, allocations: 336.1 kB / 359.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.2297, allocations: 11.92 kB / 359.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2297, allocations: 7.984 kB / 359.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2298, allocations: 8 kB / 359.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.2299, allocations: 11.97 kB / 359.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.2299, allocations: 4 kB / 359.4 MB, free: 4.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.772e-05/0.23, allocations: 104 kB / 359.5 MB, free: 4 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.23, allocations: 0 / 359.5 MB, free: 4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.2303, allocations: 44 kB / 359.5 MB, free: 3.957 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 0.0001057/0.2304, allocations: 103.7 kB / 359.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.2308, allocations: 246.4 kB / 359.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2308, allocations: 0 / 359.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.2311, allocations: 187 kB / 360 MB, free: 3.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2314, allocations: 28.41 kB / 360.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008809/0.2323, allocations: 0.5036 MB / 360.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2324, allocations: 116.2 kB / 360.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.2325, allocations: 25.41 kB / 360.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.2325, allocations: 16.5 kB / 360.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2325, allocations: 0 / 360.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of Templates: time 0.005168/0.2377, allocations: 1.793 MB / 362.5 MB, free: 0.8711 MB / 318.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 -s ida -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: 4.289930333034135]