Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 111.9 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009943/0.0009945, allocations: 51.59 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08698/0.08799, allocations: 49.44 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003483/0.09151, allocations: 2.109 MB / 353.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009149/0.09245, allocations: 0.5415 MB / 354.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.09263, allocations: 11.94 kB / 354.2 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.09279, allocations: 39.66 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.09293, allocations: 39.58 kB / 354.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.09312, allocations: 59.86 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.09336, allocations: 207 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.09358, allocations: 69.52 kB / 354.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.09368, allocations: 83.7 kB / 354.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.09381, allocations: 79.62 kB / 354.7 MB, free: 440 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.09385, allocations: 16 kB / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/0.09389, allocations: 16 kB / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.09394, allocations: 35.91 kB / 354.8 MB, free: 372 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.09403, allocations: 91.55 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.09425, allocations: 215.2 kB / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.09427, allocations: 0 / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09427, allocations: 0 / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.09429, allocations: 0 / 355.1 MB, free: 64 kB / 286.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.0006454/0.09494, allocations: 474.9 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.09498, allocations: 8.031 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.09503, allocations: 24.66 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.0953, allocations: 220 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.09532, allocations: 16.38 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.09536, allocations: 16.38 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.09567, allocations: 161.5 kB / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.0957, allocations: 7.906 kB / 356 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.09572, allocations: 8 kB / 356 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.09573, allocations: 4 kB / 356 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.09596, allocations: 99.88 kB / 356.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008231/0.09679, allocations: 0.5888 MB / 356.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.09702, allocations: 114.6 kB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.09712, allocations: 41.09 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.09715, allocations: 4 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.09718, allocations: 38.5 kB / 356.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.09719, allocations: 3.938 kB / 356.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001461/0.09866, allocations: 0.7931 MB / 357.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.09872, allocations: 59.39 kB / 357.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.09886, allocations: 162.2 kB / 357.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.09889, allocations: 25.7 kB / 357.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.09897, allocations: 128.3 kB / 358 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.09903, allocations: 70.94 kB / 358.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.09909, allocations: 33.72 kB / 358.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.09922, allocations: 330.8 kB / 358.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.09933, allocations: 43.97 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.09945, allocations: 75.41 kB / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.09969, allocations: 131.3 kB / 358.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.0997, allocations: 0 / 358.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003687/0.1001, allocations: 206.2 kB / 358.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1001, allocations: 4 kB / 358.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1001, allocations: 4 kB / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.1003, allocations: 40.83 kB / 359 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1005, allocations: 31.92 kB / 359 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.1017, allocations: 1.532 MB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.029e-05/0.1018, allocations: 15.95 kB / 360.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.1019, allocations: 4 kB / 360.6 MB, free: 10.1 MB / 302.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.0001266/0.102, allocations: 136.7 kB / 360.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.102, allocations: 19.75 kB / 360.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.1021, allocations: 21.19 kB / 360.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1021, allocations: 0 / 360.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1021, allocations: 0 / 360.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1021, allocations: 11.92 kB / 360.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007777/0.1029, allocations: 0.5826 MB / 361.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1029, allocations: 48 / 361.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1031, allocations: 39.91 kB / 361.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.1032, allocations: 32.83 kB / 361.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1032, allocations: 4 kB / 361.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.1044, allocations: 1.473 MB / 362.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1044, allocations: 0 / 362.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.1049, allocations: 344 kB / 363.2 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.105, allocations: 92.95 kB / 363.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.105, allocations: 11.98 kB / 363.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.1051, allocations: 0 / 363.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.1051, allocations: 15.98 kB / 363.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.1052, allocations: 4 kB / 363.3 MB, free: 7.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.113e-05/0.1052, allocations: 124.1 kB / 363.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1053, allocations: 0 / 363.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1055, allocations: 48 kB / 363.5 MB, free: 6.906 MB / 302.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.0001035/0.1057, allocations: 99.72 kB / 363.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004604/0.1061, allocations: 258.5 kB / 363.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1061, allocations: 4.125 kB / 363.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.1064, allocations: 189 kB / 364 MB, free: 6.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1067, allocations: 25.7 kB / 364.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.1076, allocations: 0.4981 MB / 364.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.108, allocations: 0.7242 MB / 365.3 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.108, allocations: 17.55 kB / 365.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1081, allocations: 19.38 kB / 365.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1081, allocations: 0 / 365.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of Templates: time 0.004593/0.1127, allocations: 1.827 MB / 367.1 MB, free: 3.184 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches