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.001518/0.001518, allocations: 117.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001857/0.001857, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2439, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002917/0.2468, allocations: 2.124 MB / 411.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.2477, allocations: 0.5688 MB / 411.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2478, allocations: 11.94 kB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.248, allocations: 31.66 kB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2481, allocations: 55.55 kB / 412 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.2483, allocations: 51.88 kB / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.2485, allocations: 203.2 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2487, allocations: 73.64 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.2487, allocations: 83.64 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.2489, allocations: 83.62 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.2489, allocations: 19.94 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.2489, allocations: 16 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.249, allocations: 31.92 kB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.2e-05/0.2491, allocations: 95.53 kB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2493, allocations: 212.4 kB / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2493, allocations: 0 / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2493, allocations: 0 / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.2493, allocations: 4 kB / 412.9 MB, free: 13.95 MB / 334.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.0006034/0.2499, allocations: 474.7 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.25, allocations: 8.031 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.25, allocations: 20.75 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.2503, allocations: 227.9 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.2503, allocations: 16.16 kB / 413.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.2503, allocations: 24.38 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.2506, allocations: 145.9 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2507, allocations: 0 / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.2507, allocations: 12 kB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2507, allocations: 4 kB / 413.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.2509, allocations: 103.7 kB / 413.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.2518, allocations: 0.5965 MB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.252, allocations: 118.6 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.2521, allocations: 44.84 kB / 414.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.2522, allocations: 0 / 414.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2522, allocations: 38.55 kB / 414.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.2522, allocations: 0 / 414.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001424/0.2536, allocations: 0.8016 MB / 415.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.2537, allocations: 51.41 kB / 415.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2538, allocations: 162.2 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2538, allocations: 29.7 kB / 415.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.2539, allocations: 136.2 kB / 415.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.254, allocations: 59.11 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.254, allocations: 37.7 kB / 415.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2542, allocations: 326.8 kB / 416.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2543, allocations: 47.97 kB / 416.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.2544, allocations: 76.53 kB / 416.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.2546, allocations: 126.5 kB / 416.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2546, allocations: 0 / 416.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003874/0.255, allocations: 218 kB / 416.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.255, allocations: 7.938 kB / 416.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2551, allocations: 4 kB / 416.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.2552, allocations: 32.84 kB / 416.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2554, allocations: 39.91 kB / 416.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.2566, allocations: 1.532 MB / 418.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.2567, allocations: 7.969 kB / 418.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.2567, allocations: 8.062 kB / 418.4 MB, free: 7.977 MB / 334.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.0001095/0.2568, allocations: 133.8 kB / 418.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.2569, allocations: 15.81 kB / 418.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.2569, allocations: 25.22 kB / 418.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2569, allocations: 3.984 kB / 418.5 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.257, allocations: 4 kB / 418.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.257, allocations: 3.938 kB / 418.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.2577, allocations: 0.5866 MB / 419.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2577, allocations: 0 / 419.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.2579, allocations: 31.97 kB / 419.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.258, allocations: 36.78 kB / 419.2 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.258, allocations: 0 / 419.2 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2591, allocations: 1.477 MB / 420.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2591, allocations: 0 / 420.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.2596, allocations: 336.1 kB / 421 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.2597, allocations: 89.05 kB / 421.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2597, allocations: 4 kB / 421.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.2598, allocations: 4 kB / 421.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.2598, allocations: 19.91 kB / 421.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2598, allocations: 12.06 kB / 421.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.975e-05/0.2599, allocations: 115.2 kB / 421.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2599, allocations: 0 / 421.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.2602, allocations: 44 kB / 421.3 MB, free: 4.797 MB / 334.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.0001167/0.2604, allocations: 110.7 kB / 421.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.2608, allocations: 254.6 kB / 421.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2608, allocations: 0 / 421.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.2611, allocations: 201.5 kB / 421.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.2614, allocations: 22.39 kB / 421.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008/0.2622, allocations: 483.2 kB / 422.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.2625, allocations: 0.732 MB / 423.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.2626, allocations: 21.48 kB / 423.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.2627, allocations: 19.42 kB / 423.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2627, allocations: 0 / 423.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of Templates: time 0.004619/0.2673, allocations: 1.873 MB / 425 MB, free: 1.027 MB / 334.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