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.001534/0.001534, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.625/1.625, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001052/0.001052, allocations: 82.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.428e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09808, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3205/0.4187, allocations: 77.48 MB / 447.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.419, allocations: 67.72 kB / 447.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008394/0.4274, allocations: 3.119 MB / 450.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4274, allocations: 0 / 450.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.4275, allocations: 8 kB / 450.7 MB, free: 13.11 MB / 330.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.0004953/0.428, allocations: 427.9 kB / 451.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.428, allocations: 12.8 kB / 451.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.4281, allocations: 19.72 kB / 451.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.4283, allocations: 205.6 kB / 451.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4283, allocations: 15.56 kB / 451.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.4284, allocations: 23 kB / 451.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.4286, allocations: 148.3 kB / 451.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4286, allocations: 3.938 kB / 451.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4287, allocations: 8.891 kB / 451.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4287, allocations: 4 kB / 451.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.4289, allocations: 90.64 kB / 451.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.4297, allocations: 0.5972 MB / 452.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4299, allocations: 105 kB / 452.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.726e-05/0.43, allocations: 44.27 kB / 452.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.43, allocations: 0 / 452.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.43, allocations: 42.44 kB / 452.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.43, allocations: 0 / 452.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001167/0.4312, allocations: 0.7413 MB / 453.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4312, allocations: 63.31 kB / 453.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4314, allocations: 145.5 kB / 453.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.4314, allocations: 33.45 kB / 453.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.4315, allocations: 126.9 kB / 453.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.4315, allocations: 58.55 kB / 453.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.4315, allocations: 3.875 kB / 453.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4316, allocations: 330.2 kB / 453.9 MB, free: 10 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.4317, allocations: 39.88 kB / 453.9 MB, free: 9.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.4318, allocations: 75.41 kB / 454 MB, free: 9.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.72e-05/0.4319, allocations: 51.73 kB / 454.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4319, allocations: 3.938 kB / 454.1 MB, free: 9.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002957/0.4322, allocations: 196.5 kB / 454.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4323, allocations: 4 kB / 454.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4323, allocations: 4 kB / 454.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.4324, allocations: 40.27 kB / 454.3 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.4326, allocations: 28.03 kB / 454.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.4338, allocations: 1.428 MB / 455.8 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.4339, allocations: 11.83 kB / 455.8 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4339, allocations: 4 kB / 455.8 MB, free: 8.168 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.434, allocations: 116.9 kB / 455.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.434, allocations: 7.906 kB / 455.9 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.4341, allocations: 24.11 kB / 455.9 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4341, allocations: 4 kB / 455.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4341, allocations: 192 / 455.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4341, allocations: 0 / 455.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.4348, allocations: 0.5877 MB / 456.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4348, allocations: 3.984 kB / 456.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.435, allocations: 27.98 kB / 456.5 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.4351, allocations: 28.66 kB / 456.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4351, allocations: 3.938 kB / 456.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.4361, allocations: 1.371 MB / 457.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4361, allocations: 0 / 457.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.4365, allocations: 322.7 kB / 458.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.4366, allocations: 88.95 kB / 458.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4366, allocations: 3.688 kB / 458.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.4367, allocations: 7.688 kB / 458.4 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.4368, allocations: 11.94 kB / 458.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4368, allocations: 7.984 kB / 458.4 MB, free: 5.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.48e-05/0.4369, allocations: 114.6 kB / 458.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4369, allocations: 64 / 458.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.4372, allocations: 51.92 kB / 458.5 MB, free: 5.434 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.4373, allocations: 103.1 kB / 458.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.4377, allocations: 244.6 kB / 458.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4377, allocations: 0 / 458.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.4379, allocations: 188.2 kB / 459.1 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.4382, allocations: 25.03 kB / 459.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.4388, allocations: 345.3 kB / 459.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.4391, allocations: 0.7285 MB / 460.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.027e-05/0.4392, allocations: 17.33 kB / 460.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.4392, allocations: 15.44 kB / 460.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4393, allocations: 0 / 460.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of Templates: time 0.004256/0.4435, allocations: 1.669 MB / 461.9 MB, free: 2.141 MB / 330.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/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