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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009794/0.0009794, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008182, allocations: 95.91 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000729/0.000729, allocations: 39.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1832, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002625/0.1858, allocations: 2.16 MB / 376 MB, free: 44.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.1865, allocations: 0.5726 MB / 376.6 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1866, allocations: 3.344 kB / 376.6 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.1867, allocations: 28.34 kB / 376.6 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.1868, allocations: 41.5 kB / 376.6 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.1869, allocations: 39.09 kB / 376.7 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1871, allocations: 205.9 kB / 376.9 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1873, allocations: 67.73 kB / 376.9 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.1873, allocations: 63.33 kB / 377 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1874, allocations: 83.48 kB / 377.1 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1875, allocations: 11.09 kB / 377.1 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.018e-05/0.1875, allocations: 11.75 kB / 377.1 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.1875, allocations: 37.22 kB / 377.1 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.1876, allocations: 80.2 kB / 377.2 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1878, allocations: 204.8 kB / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1878, allocations: 5.656 kB / 377.4 MB, free: 43.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1878, allocations: 0 / 377.4 MB, free: 43.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1878, allocations: 0 / 377.4 MB, free: 43.1 MB / 298.7 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.0005065/0.1883, allocations: 484.1 kB / 377.9 MB, free: 42.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1884, allocations: 9.969 kB / 377.9 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1884, allocations: 18.97 kB / 377.9 MB, free: 42.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1886, allocations: 220 kB / 378.1 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1886, allocations: 15 kB / 378.1 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1886, allocations: 14.94 kB / 378.2 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1889, allocations: 163.4 kB / 378.3 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1889, allocations: 1.531 kB / 378.3 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1889, allocations: 5.344 kB / 378.3 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1889, allocations: 3.5 kB / 378.3 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.1891, allocations: 106.2 kB / 378.4 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.1898, allocations: 0.5931 MB / 379 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.19, allocations: 110.6 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/0.1901, allocations: 48.73 kB / 379.2 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1901, allocations: 2.312 kB / 379.2 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.1901, allocations: 39.69 kB / 379.2 MB, free: 41.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1902, allocations: 0 / 379.2 MB, free: 41.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001176/0.1913, allocations: 0.7921 MB / 380 MB, free: 40.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.1914, allocations: 53.53 kB / 380.1 MB, free: 40.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.1915, allocations: 163.2 kB / 380.2 MB, free: 40.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.1915, allocations: 29.7 kB / 380.3 MB, free: 40.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1915, allocations: 137.1 kB / 380.4 MB, free: 40.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1916, allocations: 66.56 kB / 380.5 MB, free: 40.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1916, allocations: 36.92 kB / 380.5 MB, free: 40.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.1917, allocations: 327.1 kB / 380.8 MB, free: 40.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.1918, allocations: 47.31 kB / 380.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.766e-05/0.1919, allocations: 75.94 kB / 380.9 MB, free: 40.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.192, allocations: 128.5 kB / 381.1 MB, free: 39.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1921, allocations: 0 / 381.1 MB, free: 39.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003142/0.1924, allocations: 209.5 kB / 381.3 MB, free: 39.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1924, allocations: 6.062 kB / 381.3 MB, free: 39.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1924, allocations: 5.469 kB / 381.3 MB, free: 39.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.1926, allocations: 43.55 kB / 381.3 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1927, allocations: 29.77 kB / 381.3 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007753/0.1935, allocations: 1.428 MB / 382.8 MB, free: 38.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.1936, allocations: 6.75 kB / 382.8 MB, free: 38.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1936, allocations: 9.125 kB / 382.8 MB, free: 38.36 MB / 298.7 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 7.268e-05/0.1937, allocations: 134.8 kB / 382.9 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1937, allocations: 18.72 kB / 382.9 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.1937, allocations: 23.33 kB / 383 MB, free: 38.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1937, allocations: 6.719 kB / 383 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1938, allocations: 1.312 kB / 383 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1938, allocations: 0 / 383 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.1944, allocations: 0.5876 MB / 383.6 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1944, allocations: 4 kB / 383.6 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1945, allocations: 30.3 kB / 383.6 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.704e-05/0.1946, allocations: 41.52 kB / 383.6 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1946, allocations: 1.062 kB / 383.6 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006727/0.1953, allocations: 1.369 MB / 385 MB, free: 36.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1953, allocations: 1.531 kB / 385 MB, free: 36.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.1978, allocations: 3.075 MB / 388.1 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.1978, allocations: 93.3 kB / 388.2 MB, free: 33.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1978, allocations: 1.031 kB / 388.2 MB, free: 33.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.1979, allocations: 10.08 kB / 388.2 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.198, allocations: 10.73 kB / 388.2 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.198, allocations: 3.438 kB / 388.2 MB, free: 33.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.198, allocations: 121.8 kB / 388.3 MB, free: 33.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.198, allocations: 0 / 388.3 MB, free: 33.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003526/0.1984, allocations: 58.66 kB / 388.4 MB, free: 33.12 MB / 298.7 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 7.839e-05/0.1985, allocations: 100.9 kB / 388.5 MB, free: 33.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.1989, allocations: 260.5 kB / 388.7 MB, free: 32.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1989, allocations: 0 / 388.7 MB, free: 32.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1991, allocations: 186.4 kB / 388.9 MB, free: 32.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1994, allocations: 29.64 kB / 388.9 MB, free: 32.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.2003, allocations: 0.8609 MB / 389.8 MB, free: 31.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.2005, allocations: 0.7306 MB / 390.5 MB, free: 31.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.811e-05/0.2006, allocations: 22.77 kB / 390.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.2006, allocations: 15.28 kB / 390.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2006, allocations: 0 / 390.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of Templates: time 0.003925/0.2045, allocations: 2.271 MB / 392.8 MB, free: 29.41 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches