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.001243/0.001243, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001188/0.001188, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.344/1.344, 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.001722/0.001722, allocations: 51.92 kB / 328 MB, free: 3.84 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09261, allocations: 46.62 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003386/0.09604, allocations: 2.113 MB / 376.7 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.09706, allocations: 0.5889 MB / 377.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.09718, allocations: 4 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.09736, allocations: 35.66 kB / 377.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.09747, allocations: 55.48 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.09765, allocations: 43.94 kB / 377.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.0979, allocations: 211 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.09807, allocations: 81.64 kB / 377.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.09817, allocations: 67.78 kB / 377.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.09831, allocations: 83.61 kB / 377.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.09835, allocations: 20 kB / 377.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-05/0.09839, allocations: 16 kB / 377.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.09844, allocations: 39.8 kB / 378 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.521e-05/0.09854, allocations: 87.59 kB / 378.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.09881, allocations: 219.1 kB / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.09882, allocations: 0 / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09883, allocations: 4 kB / 378.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.09884, allocations: 0 / 378.3 MB, free: 1.438 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.000686/0.09953, allocations: 474.7 kB / 378.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.09958, allocations: 8.031 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.09964, allocations: 50.73 kB / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.09969, allocations: 24.8 kB / 378.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.09999, allocations: 228.1 kB / 379.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1, allocations: 12.38 kB / 379.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.1001, allocations: 24.33 kB / 379.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.1004, allocations: 161.2 kB / 379.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1004, allocations: 7.969 kB / 379.3 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.1004, allocations: 8 kB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1005, allocations: 4 kB / 379.3 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.1007, allocations: 99.94 kB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1648/0.2655, allocations: 0.5778 MB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.2658, allocations: 112.7 kB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.2659, allocations: 46.44 kB / 380.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.2659, allocations: 2.531 kB / 380.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2659, allocations: 38.41 kB / 380.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.746e-06/0.266, allocations: 2.438 kB / 380.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0014/0.2674, allocations: 0.7971 MB / 380.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2674, allocations: 54.16 kB / 381 MB, free: 12.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2675, allocations: 156.8 kB / 381.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2675, allocations: 30.27 kB / 381.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.2676, allocations: 135.2 kB / 381.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.2677, allocations: 73.12 kB / 381.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.2677, allocations: 33.27 kB / 381.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.2678, allocations: 324.8 kB / 381.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2679, allocations: 42.88 kB / 381.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.268, allocations: 81.31 kB / 381.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.2682, allocations: 131.3 kB / 382 MB, free: 11.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2682, allocations: 0 / 382 MB, free: 11.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003582/0.2686, allocations: 211 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2686, allocations: 8.781 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2686, allocations: 1.375 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.2688, allocations: 37.77 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.269, allocations: 36.98 kB / 382.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009879/0.27, allocations: 1.539 MB / 383.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.2701, allocations: 8.5 kB / 383.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2701, allocations: 4.844 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.011e-05/0.2702, allocations: 132.4 kB / 383.9 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.2703, allocations: 16.69 kB / 384 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.2703, allocations: 25.91 kB / 384 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2703, allocations: 2.031 kB / 384 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2703, allocations: 1.125 kB / 384 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2703, allocations: 1.906 kB / 384 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.2711, allocations: 0.5845 MB / 384.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2711, allocations: 6 kB / 384.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.2712, allocations: 35.03 kB / 384.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.2713, allocations: 31.48 kB / 384.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2714, allocations: 1.5 kB / 384.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007565/0.2721, allocations: 1.478 MB / 386.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2721, allocations: 0 / 386.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.2726, allocations: 345.4 kB / 386.5 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.2726, allocations: 94.22 kB / 386.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2726, allocations: 2 kB / 386.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.2727, allocations: 7.109 kB / 386.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.2728, allocations: 10.25 kB / 386.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.2728, allocations: 8.203 kB / 386.6 MB, free: 7.613 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.415e-05/0.2729, allocations: 122.6 kB / 386.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2729, allocations: 3.938 kB / 386.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.2732, allocations: 42.59 kB / 386.7 MB, free: 7.516 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.0006078/0.2738, allocations: 0.8684 MB / 387.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.2743, allocations: 251 kB / 387.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2743, allocations: 0 / 387.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.2745, allocations: 202.6 kB / 388.1 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.0003552/0.2749, allocations: 27.3 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.002164/0.277, allocations: 2.147 MB / 390.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.2772, allocations: 0.7285 MB / 391 MB, free: 4.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.053e-05/0.2773, allocations: 14.14 kB / 391 MB, free: 4.109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.2774, allocations: 47.56 kB / 391 MB, free: 4.074 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2774, allocations: 5.188 kB / 391 MB, free: 4.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3053, allocations: 3.753 MB / 394.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.525/9.83, allocations: 13.23 kB / 394.8 MB, free: 3.316 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