Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 115.5 kB / 18.45 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 210.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 227.6 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.89 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2359, allocations: 50.54 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003476/0.2394, allocations: 2.136 MB / 412.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2404, allocations: 0.5765 MB / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2405, allocations: 4 kB / 412.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.2407, allocations: 31.66 kB / 412.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2408, allocations: 51.55 kB / 413 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.2409, allocations: 55.89 kB / 413 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.2412, allocations: 207 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.2414, allocations: 57.16 kB / 413.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.2415, allocations: 71.78 kB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2416, allocations: 83.62 kB / 413.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.2416, allocations: 16 kB / 413.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/0.2417, allocations: 16 kB / 413.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.2417, allocations: 39.84 kB / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.2418, allocations: 95.53 kB / 413.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.2421, allocations: 210.9 kB / 413.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2421, allocations: 4 kB / 413.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2421, allocations: 0 / 413.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2421, allocations: 4 kB / 413.8 MB, free: 13.79 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.0007268/0.2428, allocations: 474.6 kB / 414.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2429, allocations: 8.031 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.2429, allocations: 20.84 kB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.2432, allocations: 228 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.2432, allocations: 16.16 kB / 414.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.2433, allocations: 20.38 kB / 414.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.2436, allocations: 145.9 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2436, allocations: 0 / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2436, allocations: 12 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2436, allocations: 4 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.2439, allocations: 103.7 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.2448, allocations: 0.6045 MB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.245, allocations: 106.6 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.2451, allocations: 40.84 kB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2452, allocations: 4 kB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2452, allocations: 42.48 kB / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2452, allocations: 0 / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001604/0.2468, allocations: 0.8016 MB / 416.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.2468, allocations: 51.41 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.247, allocations: 154.9 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.247, allocations: 29.7 kB / 416.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.2471, allocations: 136.4 kB / 416.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.2472, allocations: 63.44 kB / 416.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.2472, allocations: 37.7 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2474, allocations: 338.7 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.2475, allocations: 39.98 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.2476, allocations: 77.08 kB / 417.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2479, allocations: 134.2 kB / 417.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2479, allocations: 0 / 417.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004232/0.2483, allocations: 210.2 kB / 417.7 MB, free: 9.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2483, allocations: 8 kB / 417.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2483, allocations: 0 / 417.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.2485, allocations: 32.84 kB / 417.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.2487, allocations: 47.97 kB / 417.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.2501, allocations: 1.524 MB / 419.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.2502, allocations: 11.97 kB / 419.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2502, allocations: 4 kB / 419.3 MB, free: 7.832 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.0001336/0.2504, allocations: 134.6 kB / 419.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.2504, allocations: 15.91 kB / 419.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.2504, allocations: 29.2 kB / 419.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2505, allocations: 0 / 419.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2505, allocations: 8.062 kB / 419.5 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2505, allocations: 3.938 kB / 419.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.2513, allocations: 0.5761 MB / 420.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2513, allocations: 192 / 420.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.2515, allocations: 39.91 kB / 420.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.2516, allocations: 36.84 kB / 420.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2516, allocations: 0 / 420.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.2529, allocations: 1.481 MB / 421.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2529, allocations: 0 / 421.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.2535, allocations: 339.9 kB / 421.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.2535, allocations: 93.05 kB / 422 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.2536, allocations: 0 / 422 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2537, allocations: 12.12 kB / 422.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.2537, allocations: 15.97 kB / 422.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2537, allocations: 4 kB / 422.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.2538, allocations: 123.2 kB / 422.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2538, allocations: 3.938 kB / 422.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.2541, allocations: 44 kB / 422.2 MB, free: 4.633 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.0001255/0.2542, allocations: 107.3 kB / 422.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000498/0.2547, allocations: 245.7 kB / 422.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2547, allocations: 0 / 422.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.255, allocations: 186.6 kB / 422.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.2554, allocations: 27.89 kB / 422.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/0.2563, allocations: 498.8 kB / 423.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.2567, allocations: 0.7281 MB / 424 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.2567, allocations: 17.48 kB / 424 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.2568, allocations: 15.44 kB / 424 MB, free: 2.742 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2568, allocations: 0 / 424 MB, free: 2.742 MB / 334.1 MB Notification: Performance of Templates: time 0.005617/0.2624, allocations: 1.886 MB / 425.9 MB, free: 0.8672 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches