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.001216/0.001216, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001429/0.001429, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.653/1.653, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001321/0.001321, allocations: 44.31 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 46.62 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003913/0.1082, allocations: 2.121 MB / 377.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1096, allocations: 0.585 MB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.1099, allocations: 4 kB / 377.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.1102, allocations: 35.66 kB / 377.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1103, allocations: 55.48 kB / 377.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1106, allocations: 47.94 kB / 378 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.1109, allocations: 203.1 kB / 378.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.1111, allocations: 77.61 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.1112, allocations: 75.78 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1113, allocations: 83.62 kB / 378.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1114, allocations: 20 kB / 378.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.584e-05/0.1114, allocations: 16 kB / 378.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.1115, allocations: 43.78 kB / 378.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.567e-05/0.1116, allocations: 91.53 kB / 378.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1119, allocations: 211.3 kB / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1119, allocations: 0 / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1119, allocations: 0 / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1119, allocations: 0 / 378.8 MB, free: 0.9336 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.0007093/0.1126, allocations: 478.9 kB / 379.2 MB, free: 428 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1127, allocations: 8.031 kB / 379.2 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.1127, allocations: 24.66 kB / 379.3 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.1131, allocations: 220 kB / 379.5 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.1131, allocations: 12.38 kB / 379.5 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.1132, allocations: 20.28 kB / 379.5 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2306/0.3438, allocations: 155 kB / 379.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.3439, allocations: 4.016 kB / 379.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.3439, allocations: 7.406 kB / 379.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.344, allocations: 4.531 kB / 379.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.3443, allocations: 104.9 kB / 379.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.3452, allocations: 0.579 MB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.3455, allocations: 116.1 kB / 380.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.3456, allocations: 43.45 kB / 380.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3456, allocations: 3.156 kB / 380.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3456, allocations: 36.92 kB / 380.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3456, allocations: 3.438 kB / 380.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00156/0.3472, allocations: 0.799 MB / 381.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.3472, allocations: 54.81 kB / 381.4 MB, free: 12.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3474, allocations: 160.6 kB / 381.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3474, allocations: 27.08 kB / 381.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.3475, allocations: 134.4 kB / 381.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.3475, allocations: 66.27 kB / 381.8 MB, free: 12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.3476, allocations: 33.39 kB / 381.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.3477, allocations: 330.6 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.3478, allocations: 49.22 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3479, allocations: 70.81 kB / 382.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3481, allocations: 136.5 kB / 382.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3482, allocations: 4.875 kB / 382.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004148/0.3486, allocations: 207.4 kB / 382.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3486, allocations: 9.312 kB / 382.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3486, allocations: 0.5938 kB / 382.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.3488, allocations: 46.62 kB / 382.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.349, allocations: 30.44 kB / 382.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.3501, allocations: 1.533 MB / 384.2 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.3502, allocations: 11.06 kB / 384.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3502, allocations: 4.812 kB / 384.2 MB, free: 9.988 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 9.313e-05/0.3503, allocations: 132.6 kB / 384.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.3503, allocations: 11.84 kB / 384.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.3504, allocations: 21.91 kB / 384.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3504, allocations: 9.844 kB / 384.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3504, allocations: 1.125 kB / 384.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3504, allocations: 3.438 kB / 384.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.3511, allocations: 0.585 MB / 385 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3512, allocations: 0 / 385 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3513, allocations: 30.05 kB / 385 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.3514, allocations: 35.3 kB / 385.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3514, allocations: 5.969 kB / 385.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008226/0.3523, allocations: 1.478 MB / 386.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3523, allocations: 0 / 386.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.3527, allocations: 333.8 kB / 386.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.3528, allocations: 93.78 kB / 387 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.3528, allocations: 6.25 kB / 387 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.3529, allocations: 3.453 kB / 387 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.353, allocations: 20.45 kB / 387 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.353, allocations: 3.844 kB / 387 MB, free: 7.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.691e-05/0.3531, allocations: 117 kB / 387.1 MB, free: 7.484 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3531, allocations: 1.156 kB / 387.1 MB, free: 7.484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.3534, allocations: 47.19 kB / 387.2 MB, free: 7.477 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.0001087/0.3535, allocations: 105.1 kB / 387.3 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004761/0.354, allocations: 252 kB / 387.5 MB, free: 7.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.354, allocations: 1.156 kB / 387.5 MB, free: 7.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.3543, allocations: 194 kB / 387.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3546, allocations: 29.75 kB / 387.7 MB, free: 7.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/0.3555, allocations: 499.8 kB / 388.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3558, allocations: 0.7324 MB / 389 MB, free: 6.055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.3559, allocations: 14.52 kB / 389 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.3559, allocations: 20.5 kB / 389 MB, free: 6.039 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3559, allocations: 0 / 389 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Templates: time 0.00607/0.362, allocations: 1.86 MB / 390.8 MB, free: 5.895 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/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