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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001057/0.001057, allocations: 191 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.275/1.275, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00123/0.00123, allocations: 52.31 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.08452, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003238/0.0878, allocations: 2.121 MB / 376.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008983/0.08872, allocations: 0.5811 MB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.08887, allocations: 7.938 kB / 377.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.08906, allocations: 27.72 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.08917, allocations: 59.48 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.08938, allocations: 51.94 kB / 377.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.08962, allocations: 203.1 kB / 377.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.08981, allocations: 81.61 kB / 377.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.08989, allocations: 75.72 kB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.09003, allocations: 79.62 kB / 377.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.09006, allocations: 16 kB / 377.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.751e-05/0.0901, allocations: 16 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.09015, allocations: 43.84 kB / 378 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.09024, allocations: 91.59 kB / 378.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.09048, allocations: 215.5 kB / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.09049, allocations: 0 / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.0905, allocations: 4 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.09051, allocations: 0 / 378.3 MB, free: 1.422 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.000718/0.09124, allocations: 466.9 kB / 378.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.09129, allocations: 12.03 kB / 378.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/0.09136, allocations: 54.73 kB / 378.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.09141, allocations: 20.66 kB / 378.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.09173, allocations: 228 kB / 379 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.09175, allocations: 8.375 kB / 379.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.0918, allocations: 20.31 kB / 379.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.09212, allocations: 165.2 kB / 379.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.09214, allocations: 0 / 379.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.09217, allocations: 4 kB / 379.2 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.09218, allocations: 8 kB / 379.2 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.09241, allocations: 103.9 kB / 379.3 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1649/0.2573, allocations: 0.5775 MB / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2576, allocations: 119.9 kB / 380 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.2577, allocations: 43.52 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.2577, allocations: 1.375 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2578, allocations: 37.31 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.2578, allocations: 0 / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001412/0.2592, allocations: 0.7955 MB / 380.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2592, allocations: 54.06 kB / 381 MB, free: 12.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2594, allocations: 164.5 kB / 381.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2594, allocations: 26.95 kB / 381.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.2595, allocations: 131.9 kB / 381.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2595, allocations: 67.88 kB / 381.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.2596, allocations: 34.53 kB / 381.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.2596, allocations: 325 kB / 381.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.584e-05/0.2597, allocations: 41.14 kB / 381.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2598, allocations: 78.45 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.2601, allocations: 139.3 kB / 382 MB, free: 11.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2601, allocations: 2.578 kB / 382 MB, free: 11.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003465/0.2604, allocations: 198.9 kB / 382.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2604, allocations: 9.5 kB / 382.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2605, allocations: 2.594 kB / 382.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.2606, allocations: 36.53 kB / 382.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.2608, allocations: 38.17 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.2618, allocations: 1.536 MB / 383.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.2619, allocations: 8.672 kB / 383.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.262, allocations: 5.188 kB / 383.8 MB, free: 10.03 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.591e-05/0.2621, allocations: 132.5 kB / 383.9 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.2621, allocations: 16.91 kB / 383.9 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.2622, allocations: 22.72 kB / 384 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2622, allocations: 2.156 kB / 384 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2622, allocations: 1.859 kB / 384 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2622, allocations: 2.578 kB / 384 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008081/0.263, allocations: 0.5966 MB / 384.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.263, allocations: 1.406 kB / 384.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.2632, allocations: 31.41 kB / 384.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.2633, allocations: 35.3 kB / 384.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.2633, allocations: 5.969 kB / 384.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007888/0.2641, allocations: 1.475 MB / 386.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2641, allocations: 9.469 kB / 386.1 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.2646, allocations: 328.1 kB / 386.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.2646, allocations: 96.42 kB / 386.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2646, allocations: 4.797 kB / 386.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.2647, allocations: 2.188 kB / 386.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.2648, allocations: 22.03 kB / 386.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2648, allocations: 5.172 kB / 386.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.2649, allocations: 118.6 kB / 386.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2649, allocations: 0 / 386.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.2652, allocations: 45.59 kB / 386.7 MB, free: 7.512 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.0005906/0.2658, allocations: 0.8661 MB / 387.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.2662, allocations: 247.7 kB / 387.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2663, allocations: 0 / 387.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.2665, allocations: 202.3 kB / 388 MB, free: 6.465 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.2668, allocations: 27.73 kB / 388.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.269, allocations: 2.143 MB / 390.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2691, allocations: 0.7289 MB / 390.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.2692, allocations: 19.25 kB / 390.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.2693, allocations: 46.45 kB / 391 MB, free: 4.078 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2693, allocations: 1.375 kB / 391 MB, free: 4.078 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.2935, allocations: 3.812 MB / 394.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.587/9.881, allocations: 13.33 kB / 394.8 MB, free: 3.324 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > 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