Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 207.3 kB / 17.99 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009664/0.0009664, allocations: 102.1 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009106/0.0009106, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1931, allocations: 50.44 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002416/0.1955, allocations: 2.182 MB / 409.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.1962, allocations: 0.5719 MB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.1963, allocations: 7.938 kB / 409.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1965, allocations: 19.84 kB / 409.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.575e-05/0.1965, allocations: 43.62 kB / 409.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1967, allocations: 47.95 kB / 409.9 MB, free: 24.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1969, allocations: 201.5 kB / 410.1 MB, free: 24.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.197, allocations: 61.64 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.197, allocations: 71.66 kB / 410.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.1971, allocations: 79.62 kB / 410.3 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1972, allocations: 16 kB / 410.3 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.569e-05/0.1972, allocations: 12 kB / 410.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.1972, allocations: 23.92 kB / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.1973, allocations: 95.52 kB / 410.5 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1975, allocations: 196.8 kB / 410.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1975, allocations: 3.984 kB / 410.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.1975, allocations: 0 / 410.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1975, allocations: 0 / 410.7 MB, free: 24.19 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.0004962/0.198, allocations: 474.9 kB / 411.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.198, allocations: 8.031 kB / 411.1 MB, free: 23.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.1981, allocations: 16.75 kB / 411.1 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1982, allocations: 218.8 kB / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1982, allocations: 12.38 kB / 411.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1983, allocations: 20.38 kB / 411.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.1985, allocations: 157.6 kB / 411.5 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1985, allocations: 3.906 kB / 411.5 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1986, allocations: 12 kB / 411.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1986, allocations: 11.98 kB / 411.6 MB, free: 23.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1988, allocations: 99.94 kB / 411.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.1994, allocations: 0.5885 MB / 412.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1996, allocations: 118.6 kB / 412.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.1997, allocations: 44.78 kB / 412.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1997, allocations: 3.984 kB / 412.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.009e-05/0.1997, allocations: 30.56 kB / 412.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1997, allocations: 4 kB / 412.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001164/0.2009, allocations: 0.8018 MB / 413.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.2009, allocations: 59.41 kB / 413.3 MB, free: 21.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.201, allocations: 155.7 kB / 413.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.2011, allocations: 37.64 kB / 413.5 MB, free: 21.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.2011, allocations: 128.3 kB / 413.6 MB, free: 20.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.2011, allocations: 59.09 kB / 413.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.2012, allocations: 37.62 kB / 413.7 MB, free: 20.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.2012, allocations: 338.8 kB / 414.1 MB, free: 20.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/0.2013, allocations: 39.98 kB / 414.1 MB, free: 20.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/0.2014, allocations: 82.97 kB / 414.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.2016, allocations: 131.3 kB / 414.3 MB, free: 20.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2016, allocations: 0 / 414.3 MB, free: 20.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003026/0.2019, allocations: 206.2 kB / 414.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.202, allocations: 4 kB / 414.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.202, allocations: 4 kB / 414.5 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.2021, allocations: 40.83 kB / 414.5 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2023, allocations: 31.98 kB / 414.6 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007735/0.203, allocations: 1.422 MB / 416 MB, free: 18.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.2031, allocations: 8.031 kB / 416 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.2032, allocations: 4 kB / 416 MB, free: 18.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.544e-05/0.2032, allocations: 149.6 kB / 416.2 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.2033, allocations: 15.81 kB / 416.2 MB, free: 18.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.2033, allocations: 21.19 kB / 416.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2033, allocations: 0 / 416.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2033, allocations: 4 kB / 416.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2033, allocations: 0 / 416.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.2039, allocations: 0.5946 MB / 416.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2039, allocations: 0 / 416.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.2041, allocations: 31.98 kB / 416.8 MB, free: 17.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.66e-05/0.2042, allocations: 32.78 kB / 416.9 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2042, allocations: 7.984 kB / 416.9 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006637/0.2049, allocations: 1.367 MB / 418.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2049, allocations: 0 / 418.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.2073, allocations: 3.081 MB / 421.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.2073, allocations: 89.03 kB / 421.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.2074, allocations: 4 kB / 421.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.2075, allocations: 4 kB / 421.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.2075, allocations: 11.98 kB / 421.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.2075, allocations: 4.219 kB / 421.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.548e-05/0.2076, allocations: 127.2 kB / 421.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2076, allocations: 0 / 421.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.208, allocations: 60 kB / 421.6 MB, free: 12.25 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 8.854e-05/0.2081, allocations: 107.2 kB / 421.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.2084, allocations: 249.9 kB / 422 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2084, allocations: 4 kB / 422 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.2087, allocations: 190.5 kB / 422.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.209, allocations: 30.58 kB / 422.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.2099, allocations: 0.8581 MB / 423 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.21, allocations: 0.7365 MB / 423.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.2101, allocations: 21.53 kB / 423.8 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.2101, allocations: 15.44 kB / 423.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2101, allocations: 0 / 423.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of Templates: time 0.004096/0.2142, allocations: 2.246 MB / 426.1 MB, free: 7.707 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches