Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 103.9 kB / 18.39 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 190.5 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004041/0.1086, allocations: 2.11 MB / 377.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1102, allocations: 0.5967 MB / 378.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.1105, allocations: 4 kB / 378.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.1108, allocations: 31.66 kB / 378.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.111, allocations: 47.52 kB / 378.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1113, allocations: 55.92 kB / 378.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.1117, allocations: 207 kB / 378.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.1119, allocations: 69.64 kB / 378.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.112, allocations: 75.77 kB / 379 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1122, allocations: 87.62 kB / 379.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.1123, allocations: 16 kB / 379.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.1123, allocations: 16 kB / 379.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.1124, allocations: 39.84 kB / 379.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1125, allocations: 91.55 kB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1128, allocations: 219.2 kB / 379.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1128, allocations: 0 / 379.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1129, allocations: 0 / 379.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1129, allocations: 0 / 379.4 MB, free: 0.9141 MB / 318.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.0007988/0.1137, allocations: 470.9 kB / 379.9 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1137, allocations: 12.03 kB / 379.9 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.1138, allocations: 24.66 kB / 379.9 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1142, allocations: 220 kB / 380.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1143, allocations: 12.38 kB / 380.2 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.1143, allocations: 20.28 kB / 380.2 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2382/0.3525, allocations: 152.1 kB / 380.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.3526, allocations: 5.578 kB / 380.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3526, allocations: 5.125 kB / 380.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3527, allocations: 6.5 kB / 380.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.353, allocations: 106.2 kB / 380.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3541, allocations: 0.5848 MB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3543, allocations: 117.6 kB / 381.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.3544, allocations: 40.44 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3545, allocations: 1.375 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.3545, allocations: 36.42 kB / 381.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.3545, allocations: 0 / 381.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001678/0.3562, allocations: 0.8032 MB / 382 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.3562, allocations: 54.67 kB / 382.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3564, allocations: 159.5 kB / 382.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3564, allocations: 30.08 kB / 382.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.3564, allocations: 129.6 kB / 382.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.3565, allocations: 68.3 kB / 382.5 MB, free: 12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.3566, allocations: 36.42 kB / 382.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.3566, allocations: 334.3 kB / 382.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.3567, allocations: 46.52 kB / 382.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3569, allocations: 72.47 kB / 382.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.3571, allocations: 135.6 kB / 383.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3571, allocations: 1.062 kB / 383.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004549/0.3576, allocations: 205.5 kB / 383.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3576, allocations: 9.562 kB / 383.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3576, allocations: 2.828 kB / 383.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.3578, allocations: 42.34 kB / 383.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.358, allocations: 29.81 kB / 383.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.3591, allocations: 1.536 MB / 384.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.582e-05/0.3592, allocations: 8.016 kB / 384.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3593, allocations: 9.5 kB / 384.9 MB, free: 10.01 MB / 318.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.0001076/0.3594, allocations: 131.3 kB / 385 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3594, allocations: 11.75 kB / 385.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.3595, allocations: 26.56 kB / 385.1 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3595, allocations: 5.812 kB / 385.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3595, allocations: 1.812 kB / 385.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3595, allocations: 2.484 kB / 385.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.3603, allocations: 0.5777 MB / 385.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.3603, allocations: 5.781 kB / 385.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.3605, allocations: 33.08 kB / 385.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.3606, allocations: 31.97 kB / 385.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3606, allocations: 5.031 kB / 385.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009227/0.3615, allocations: 1.477 MB / 387.2 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3615, allocations: 0.9375 kB / 387.2 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.3621, allocations: 341.1 kB / 387.6 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.3621, allocations: 89.17 kB / 387.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3621, allocations: 8.422 kB / 387.7 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.3622, allocations: 8.125 kB / 387.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.3623, allocations: 12.36 kB / 387.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3623, allocations: 4.766 kB / 387.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.516e-05/0.3624, allocations: 122.3 kB / 387.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3624, allocations: 0 / 387.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.3627, allocations: 42.09 kB / 387.8 MB, free: 7.496 MB / 318.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.0001172/0.3629, allocations: 110.2 kB / 387.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.3634, allocations: 247.6 kB / 388.2 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3634, allocations: 1.188 kB / 388.2 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.3636, allocations: 199.5 kB / 388.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.364, allocations: 27.94 kB / 388.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.3649, allocations: 0.507 MB / 388.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3651, allocations: 0.7307 MB / 389.6 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.3652, allocations: 16.69 kB / 389.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3652, allocations: 3.391 kB / 389.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of Templates: time 0.00623/0.3714, allocations: 2.891 MB / 392.6 MB, free: 5.77 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches