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.001553/0.001553, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002135/0.002135, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.252, allocations: 50.54 MB / 409.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002978/0.255, allocations: 2.128 MB / 411.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.2559, allocations: 0.5649 MB / 411.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.256, allocations: 7.938 kB / 411.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.2561, allocations: 35.64 kB / 412 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.2562, allocations: 51.5 kB / 412 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.2564, allocations: 51.94 kB / 412.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.2567, allocations: 215.1 kB / 412.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.2568, allocations: 61.67 kB / 412.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.2569, allocations: 79.66 kB / 412.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2571, allocations: 87.61 kB / 412.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.2571, allocations: 20 kB / 412.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.24e-05/0.2571, allocations: 16 kB / 412.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.2572, allocations: 35.91 kB / 412.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/0.2573, allocations: 87.55 kB / 412.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.2575, allocations: 220.5 kB / 412.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2575, allocations: 0 / 412.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2575, allocations: 0 / 412.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2575, allocations: 0 / 412.9 MB, free: 14.1 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.0006741/0.2582, allocations: 474.8 kB / 413.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2582, allocations: 8.031 kB / 413.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.2583, allocations: 20.75 kB / 413.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2586, allocations: 227 kB / 413.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2586, allocations: 16.16 kB / 413.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.2586, allocations: 16.38 kB / 413.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2589, allocations: 157.9 kB / 413.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.259, allocations: 3.984 kB / 413.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.259, allocations: 4 kB / 413.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.259, allocations: 4 kB / 413.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.2592, allocations: 107.7 kB / 413.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.2601, allocations: 0.6003 MB / 414.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.2603, allocations: 122.5 kB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.2604, allocations: 44.84 kB / 414.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2605, allocations: 4 kB / 414.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2605, allocations: 30.56 kB / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2605, allocations: 0 / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001643/0.2621, allocations: 0.7939 MB / 415.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.2622, allocations: 63.39 kB / 415.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.2624, allocations: 154.2 kB / 415.7 MB, free: 11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.2625, allocations: 33.7 kB / 415.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2626, allocations: 128.3 kB / 415.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.2627, allocations: 67.08 kB / 415.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.2627, allocations: 33.72 kB / 415.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2629, allocations: 334.7 kB / 416.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.2631, allocations: 43.98 kB / 416.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2632, allocations: 78.97 kB / 416.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.2635, allocations: 131.3 kB / 416.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2635, allocations: 0 / 416.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004343/0.2639, allocations: 212.3 kB / 416.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.264, allocations: 4 kB / 416.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.264, allocations: 0 / 416.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.2642, allocations: 36.89 kB / 416.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.2644, allocations: 39.98 kB / 416.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2658, allocations: 1.532 MB / 418.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.2659, allocations: 11.92 kB / 418.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2659, allocations: 8 kB / 418.4 MB, free: 8.125 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.0001214/0.266, allocations: 133.7 kB / 418.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.2661, allocations: 15.81 kB / 418.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.2661, allocations: 17.19 kB / 418.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2661, allocations: 4.062 kB / 418.5 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2661, allocations: 4 kB / 418.5 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2661, allocations: 7.922 kB / 418.5 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007593/0.2669, allocations: 0.5838 MB / 419.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2669, allocations: 0 / 419.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2671, allocations: 23.98 kB / 419.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.2672, allocations: 40.83 kB / 419.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2672, allocations: 4 kB / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.2685, allocations: 1.473 MB / 420.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2685, allocations: 4 kB / 420.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.269, allocations: 337.8 kB / 421 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.2691, allocations: 96.97 kB / 421.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.2691, allocations: 4.125 kB / 421.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2692, allocations: 8 kB / 421.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.2693, allocations: 11.98 kB / 421.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2693, allocations: 4 kB / 421.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.2694, allocations: 119.2 kB / 421.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2694, allocations: 0 / 421.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.2697, allocations: 44 kB / 421.3 MB, free: 4.949 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.0001106/0.2698, allocations: 107.1 kB / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004761/0.2703, allocations: 250.5 kB / 421.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2703, allocations: 0 / 421.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2706, allocations: 201.5 kB / 421.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2709, allocations: 22.39 kB / 421.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008537/0.2718, allocations: 491.3 kB / 422.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2721, allocations: 0.7281 MB / 423.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.107e-05/0.2721, allocations: 17.53 kB / 423.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.2722, allocations: 19.44 kB / 423.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2722, allocations: 0 / 423.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of Templates: time 0.004619/0.2768, allocations: 1.853 MB / 424.9 MB, free: 1.203 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