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.001185/0.001185, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002125/0.002126, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 63.11 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09348, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003425/0.09695, allocations: 2.13 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.098, allocations: 0.5844 MB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.09813, allocations: 4 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.09831, allocations: 31.66 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.381e-05/0.09841, allocations: 47.56 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.0986, allocations: 51.88 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.09884, allocations: 211 kB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.09902, allocations: 73.62 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.09911, allocations: 79.7 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.09925, allocations: 79.64 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.09928, allocations: 16 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.838e-05/0.09931, allocations: 16 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.09936, allocations: 39.84 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.09946, allocations: 87.61 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.09969, allocations: 223.2 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.0997, allocations: 0 / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.09971, allocations: 0 / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.09972, allocations: 0 / 362.6 MB, free: 9.695 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.0006518/0.1004, allocations: 470.8 kB / 363 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.1004, allocations: 12.03 kB / 363 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.1005, allocations: 20.66 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.1008, allocations: 232 kB / 363.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1008, allocations: 12.16 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.1009, allocations: 20.28 kB / 363.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1012, allocations: 153.9 kB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1012, allocations: 4 kB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1013, allocations: 4 kB / 363.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1013, allocations: 4 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.1015, allocations: 107.7 kB / 363.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.1024, allocations: 0.5887 MB / 364.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1026, allocations: 114.6 kB / 364.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.1027, allocations: 40.84 kB / 364.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1028, allocations: 8 kB / 364.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1028, allocations: 34.56 kB / 364.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1028, allocations: 0 / 364.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001424/0.1042, allocations: 0.8039 MB / 365.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1043, allocations: 51.41 kB / 365.2 MB, free: 6.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1044, allocations: 160.7 kB / 365.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1044, allocations: 25.7 kB / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.1045, allocations: 128.3 kB / 365.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.1046, allocations: 71 kB / 365.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.1046, allocations: 29.72 kB / 365.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1048, allocations: 338.8 kB / 365.9 MB, free: 6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/0.1049, allocations: 39.98 kB / 366 MB, free: 5.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.105, allocations: 82.91 kB / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1052, allocations: 131.3 kB / 366.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1052, allocations: 0 / 366.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003678/0.1056, allocations: 209.2 kB / 366.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1056, allocations: 10.5 kB / 366.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1056, allocations: 3.938 kB / 366.4 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.1058, allocations: 40.83 kB / 366.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.106, allocations: 35.98 kB / 366.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.1072, allocations: 1.524 MB / 368 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.1073, allocations: 15.95 kB / 368 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1073, allocations: 4 kB / 368 MB, free: 3.742 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.0001147/0.1075, allocations: 133.8 kB / 368.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.1075, allocations: 19.84 kB / 368.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.1075, allocations: 17.19 kB / 368.2 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1076, allocations: 3.984 kB / 368.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1076, allocations: 8.062 kB / 368.2 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1076, allocations: 3.938 kB / 368.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00083/0.1084, allocations: 0.58 MB / 368.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1084, allocations: 0 / 368.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1086, allocations: 27.98 kB / 368.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.1087, allocations: 36.83 kB / 368.9 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1087, allocations: 4 kB / 368.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.1099, allocations: 1.473 MB / 370.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1099, allocations: 0 / 370.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.1104, allocations: 340 kB / 370.7 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.1105, allocations: 92.94 kB / 370.8 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1105, allocations: 4.125 kB / 370.8 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1106, allocations: 8 kB / 370.8 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.1107, allocations: 12.12 kB / 370.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1107, allocations: 4 kB / 370.8 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1108, allocations: 123.3 kB / 370.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1108, allocations: 4 kB / 370.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1112, allocations: 44 kB / 370.9 MB, free: 0.5625 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.0001579/0.1113, allocations: 115.2 kB / 371.1 MB, free: 452 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.1119, allocations: 248.8 kB / 371.3 MB, free: 192 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.112, allocations: 0 / 371.3 MB, free: 192 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1763/0.2883, allocations: 184.8 kB / 371.5 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.289, allocations: 28.58 kB / 371.5 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2902, allocations: 498.4 kB / 372 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2905, allocations: 0.7303 MB / 372.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.907e-05/0.2906, allocations: 15.2 kB / 372.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.2907, allocations: 16.42 kB / 372.8 MB, free: 19.35 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2907, allocations: 0 / 372.8 MB, free: 19.35 MB / 302.1 MB Notification: Performance of Templates: time 0.007088/0.2978, allocations: 1.827 MB / 374.6 MB, free: 19.25 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 -s gbode -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/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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches