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.001149/0.001149, allocations: 93.91 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.00145, allocations: 206.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002453/0.0002453, allocations: 8 kB / 308.4 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.09955, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002651/0.1022, allocations: 1.825 MB / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1034, allocations: 0.5688 MB / 362.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1036, allocations: 4 kB / 362.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.1037, allocations: 23.78 kB / 362.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1039, allocations: 47.61 kB / 362.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.1041, allocations: 39.97 kB / 362.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.1044, allocations: 195.1 kB / 362.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1046, allocations: 61.59 kB / 362.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1047, allocations: 71.66 kB / 362.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1048, allocations: 79.56 kB / 362.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.1049, allocations: 8 kB / 362.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/0.1049, allocations: 8 kB / 362.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.1049, allocations: 31.91 kB / 362.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.8e-05/0.105, allocations: 105.2 kB / 363 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1053, allocations: 151.8 kB / 363.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1053, allocations: 4 kB / 363.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1053, allocations: 0 / 363.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1053, allocations: 0 / 363.1 MB, free: 10.08 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.0006986/0.106, allocations: 446.9 kB / 363.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.106, allocations: 8.031 kB / 363.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1061, allocations: 20.75 kB / 363.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1064, allocations: 224 kB / 363.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1065, allocations: 8.375 kB / 363.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.1065, allocations: 24.36 kB / 363.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.1069, allocations: 161.7 kB / 364 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.107, allocations: 3.984 kB / 364 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.107, allocations: 12 kB / 364 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.107, allocations: 4 kB / 364 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.1073, allocations: 103.9 kB / 364.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1083, allocations: 0.608 MB / 364.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1086, allocations: 118.5 kB / 364.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1087, allocations: 48.78 kB / 364.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1087, allocations: 0 / 364.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1087, allocations: 34.56 kB / 364.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.1088, allocations: 4 kB / 364.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001636/0.1104, allocations: 0.8046 MB / 365.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1105, allocations: 55.41 kB / 365.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1106, allocations: 152.7 kB / 365.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1107, allocations: 33.7 kB / 366 MB, free: 6.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.1107, allocations: 136.2 kB / 366.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.1108, allocations: 59.11 kB / 366.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.1109, allocations: 21.7 kB / 366.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.111, allocations: 330.8 kB / 366.5 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1111, allocations: 43.92 kB / 366.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1113, allocations: 86.34 kB / 366.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.1115, allocations: 138.3 kB / 366.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1115, allocations: 3.938 kB / 366.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004489/0.112, allocations: 206.1 kB / 367 MB, free: 5.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.112, allocations: 8.062 kB / 367 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.112, allocations: 3.984 kB / 367 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.1122, allocations: 40.78 kB / 367 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1124, allocations: 31.98 kB / 367 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.1137, allocations: 1.429 MB / 368.5 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.1138, allocations: 8 kB / 368.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1138, allocations: 11.98 kB / 368.5 MB, free: 4.23 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.0001314/0.114, allocations: 137.7 kB / 368.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.114, allocations: 19.81 kB / 368.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.1141, allocations: 17.19 kB / 368.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1141, allocations: 0 / 368.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1141, allocations: 4 kB / 368.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1141, allocations: 3.984 kB / 368.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.115, allocations: 0.5878 MB / 369.3 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.115, allocations: 0 / 369.3 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1151, allocations: 35.86 kB / 369.3 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.1153, allocations: 32.83 kB / 369.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1153, allocations: 4 kB / 369.3 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.1165, allocations: 1.37 MB / 370.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1165, allocations: 0 / 370.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.117, allocations: 352.9 kB / 371 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.1171, allocations: 92.95 kB / 371.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1172, allocations: 3.938 kB / 371.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1173, allocations: 8 kB / 371.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.1173, allocations: 24.03 kB / 371.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1174, allocations: 4 kB / 371.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1175, allocations: 119.4 kB / 371.3 MB, free: 1.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1175, allocations: 0 / 371.3 MB, free: 1.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1178, allocations: 44 kB / 371.3 MB, free: 1.141 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.0001237/0.118, allocations: 99.25 kB / 371.4 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.1185, allocations: 258.5 kB / 371.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1185, allocations: 3.938 kB / 371.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.1188, allocations: 182.7 kB / 371.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1192, allocations: 27.98 kB / 371.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1699/0.2891, allocations: 0.6398 MB / 372.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.2895, allocations: 0.7285 MB / 373.3 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.2896, allocations: 16.5 kB / 373.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2896, allocations: 3.562 kB / 373.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of Templates: time 0.007384/0.297, allocations: 2.835 MB / 376.1 MB, free: 18.34 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/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