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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 102.8 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 193.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.7 MB / 246.4 MB, free: 9.785 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000192/0.000192, allocations: 8 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08514/0.08535, allocations: 51.53 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002083/0.08747, allocations: 1.759 MB / 360.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000813/0.0883, allocations: 0.5535 MB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.08841, allocations: 4 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.08854, allocations: 27.78 kB / 361 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.08862, allocations: 43.62 kB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.08878, allocations: 35.95 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.08898, allocations: 183.1 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.08914, allocations: 57.78 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.238e-05/0.08922, allocations: 59.78 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.08933, allocations: 79.62 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.08936, allocations: 12 kB / 361.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.44e-05/0.08939, allocations: 8 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.08943, allocations: 27.91 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.08947, allocations: 57.58 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.08962, allocations: 151.8 kB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.08963, allocations: 0 / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08964, allocations: 0 / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.08965, allocations: 4 kB / 361.7 MB, free: 10.37 MB / 302.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.0005341/0.09019, allocations: 450.7 kB / 362.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.09023, allocations: 8.031 kB / 362.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.09028, allocations: 15.81 kB / 362.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.09048, allocations: 218.7 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.0905, allocations: 16 kB / 362.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.09054, allocations: 16 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.09084, allocations: 165.3 kB / 362.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.09086, allocations: 4 kB / 362.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.09088, allocations: 4 kB / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.09089, allocations: 7.938 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.09112, allocations: 103.9 kB / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008119/0.09194, allocations: 0.5963 MB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.09217, allocations: 118.6 kB / 363.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.09227, allocations: 44.84 kB / 363.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.0923, allocations: 0 / 363.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.09233, allocations: 34.5 kB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.09234, allocations: 0 / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001358/0.09371, allocations: 0.8158 MB / 364.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.09375, allocations: 59.41 kB / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.09388, allocations: 156.7 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.09391, allocations: 29.7 kB / 364.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.094, allocations: 132.2 kB / 364.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.09405, allocations: 63.09 kB / 364.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/0.09406, allocations: 4 kB / 364.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.09417, allocations: 326.8 kB / 365 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.09427, allocations: 40.36 kB / 365.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.09439, allocations: 84.09 kB / 365.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.09452, allocations: 54.09 kB / 365.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.09452, allocations: 0 / 365.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003665/0.09489, allocations: 218.1 kB / 365.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.09492, allocations: 10.81 kB / 365.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.09493, allocations: 0 / 365.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.09509, allocations: 40.84 kB / 365.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.09524, allocations: 31.97 kB / 365.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.09634, allocations: 1.421 MB / 366.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.09644, allocations: 11.98 kB / 366.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.09647, allocations: 12.02 kB / 366.9 MB, free: 4.648 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 (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 0.000105/0.09658, allocations: 133.6 kB / 367.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.09662, allocations: 11.91 kB / 367.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.09667, allocations: 21.19 kB / 367.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.09668, allocations: 0 / 367.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.09668, allocations: 7.922 kB / 367.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.09669, allocations: 0 / 367.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.09744, allocations: 0.5919 MB / 367.7 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.09745, allocations: 4 kB / 367.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.0976, allocations: 31.98 kB / 367.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.09772, allocations: 36.83 kB / 367.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.09774, allocations: 0 / 367.8 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.09878, allocations: 1.37 MB / 369.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.0988, allocations: 4.031 kB / 369.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.09926, allocations: 339.9 kB / 369.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.09932, allocations: 85.05 kB / 369.6 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.09935, allocations: 8.125 kB / 369.6 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.09945, allocations: 11.98 kB / 369.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.0995, allocations: 15.94 kB / 369.6 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.09951, allocations: 4 kB / 369.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.09959, allocations: 119.4 kB / 369.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0996, allocations: 0 / 369.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.09989, allocations: 44 kB / 369.8 MB, free: 1.574 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 (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 9.23e-05/0.09999, allocations: 107.2 kB / 369.9 MB, free: 1.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.1004, allocations: 250.5 kB / 370.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1004, allocations: 0 / 370.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.1007, allocations: 209.1 kB / 370.3 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.101, allocations: 23.92 kB / 370.3 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.1019, allocations: 0.6006 MB / 370.9 MB, free: 344 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1581/0.26, allocations: 0.7259 MB / 371.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.2602, allocations: 15.8 kB / 371.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.2603, allocations: 16.16 kB / 371.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2603, allocations: 0 / 371.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of Templates: time 0.007106/0.2674, allocations: 1.646 MB / 373.3 MB, free: 18.49 MB / 302.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches