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.0009617/0.0009617, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.7 MB / 246.8 MB, free: 9.773 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000219/0.0002191, allocations: 11.98 kB / 307.7 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.0973, allocations: 51.52 MB / 359.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002311/0.09965, allocations: 1.825 MB / 361.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1007, allocations: 0.5688 MB / 361.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1009, allocations: 4 kB / 361.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.101, allocations: 23.78 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1011, allocations: 47.61 kB / 361.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1013, allocations: 43.97 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1016, allocations: 195.1 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1017, allocations: 65.59 kB / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.718e-05/0.1018, allocations: 63.72 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.102, allocations: 71.64 kB / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.102, allocations: 8 kB / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.74e-05/0.102, allocations: 12 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.1021, allocations: 31.91 kB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1022, allocations: 113.2 kB / 362.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1024, allocations: 187.5 kB / 362.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1024, allocations: 0 / 362.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1024, allocations: 0 / 362.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1025, allocations: 0 / 362.5 MB, free: 9.828 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.000705/0.1032, allocations: 454.9 kB / 362.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1032, allocations: 8.031 kB / 363 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.1033, allocations: 20.75 kB / 363 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1035, allocations: 220 kB / 363.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1036, allocations: 20.3 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.1036, allocations: 16.38 kB / 363.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.104, allocations: 157.7 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.104, allocations: 0 / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.104, allocations: 16 kB / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.104, allocations: 4 kB / 363.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.1043, allocations: 103.9 kB / 363.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.1052, allocations: 0.6002 MB / 364.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1055, allocations: 118.6 kB / 364.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1056, allocations: 44.84 kB / 364.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1056, allocations: 3.938 kB / 364.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1057, allocations: 38.5 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1057, allocations: 0 / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001636/0.1073, allocations: 0.804 MB / 365.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1074, allocations: 55.41 kB / 365.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1075, allocations: 160.7 kB / 365.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1076, allocations: 29.7 kB / 365.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.1076, allocations: 132.2 kB / 365.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.1077, allocations: 63.09 kB / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1077, allocations: 21.72 kB / 365.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1078, allocations: 326.8 kB / 365.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.108, allocations: 47.92 kB / 365.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1081, allocations: 85.22 kB / 366 MB, free: 6.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1083, allocations: 129.8 kB / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1084, allocations: 0 / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004154/0.1088, allocations: 218 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1088, allocations: 4 kB / 366.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1088, allocations: 4 kB / 366.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.109, allocations: 44.83 kB / 366.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1092, allocations: 31.92 kB / 366.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1106, allocations: 1.421 MB / 367.8 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.1107, allocations: 4.031 kB / 367.9 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1107, allocations: 12.06 kB / 367.9 MB, free: 3.988 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.0001233/0.1108, allocations: 137.7 kB / 368 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.1109, allocations: 15.81 kB / 368 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.1109, allocations: 25.17 kB / 368 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1109, allocations: 0 / 368 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1109, allocations: 4 kB / 368 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1109, allocations: 3.938 kB / 368 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.1118, allocations: 0.588 MB / 368.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.1118, allocations: 7.984 kB / 368.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.112, allocations: 31.92 kB / 368.7 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.1121, allocations: 36.84 kB / 368.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1121, allocations: 7.938 kB / 368.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.1133, allocations: 1.37 MB / 370.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1133, allocations: 0 / 370.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.1138, allocations: 348.7 kB / 370.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1139, allocations: 93.08 kB / 370.5 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1139, allocations: 11.94 kB / 370.5 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-05/0.114, allocations: 0 / 370.5 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1141, allocations: 15.98 kB / 370.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1141, allocations: 7.984 kB / 370.6 MB, free: 1.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.206e-05/0.1142, allocations: 115.4 kB / 370.7 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1142, allocations: 0 / 370.7 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.1145, allocations: 48 kB / 370.7 MB, free: 0.8906 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.0001177/0.1146, allocations: 103.2 kB / 370.8 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.1152, allocations: 250.5 kB / 371.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1152, allocations: 0 / 371.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.1155, allocations: 194.7 kB / 371.2 MB, free: 328 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1158, allocations: 27.94 kB / 371.3 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1499/0.2658, allocations: 0.6208 MB / 371.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.266, allocations: 0.7259 MB / 372.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.2661, allocations: 17.7 kB / 372.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.2661, allocations: 15.41 kB / 372.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of SimCode: time 1.352e-06/0.2661, allocations: 4.562 kB / 372.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of Templates: time 0.004741/0.2709, allocations: 1.706 MB / 374.4 MB, free: 18.17 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