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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 54.58 kB / 347.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3164, allocations: 49.16 MB / 396.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003189/0.3196, allocations: 2.017 MB / 398.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.3205, allocations: 0.566 MB / 398.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.3206, allocations: 8.562 kB / 398.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.3208, allocations: 35.94 kB / 399 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.3209, allocations: 52.44 kB / 399 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.3211, allocations: 53.27 kB / 399.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.3214, allocations: 204.3 kB / 399.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3215, allocations: 49.48 kB / 399.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3216, allocations: 76.52 kB / 399.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3218, allocations: 71.16 kB / 399.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.3218, allocations: 16.78 kB / 399.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.277e-05/0.3219, allocations: 16.34 kB / 399.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.3219, allocations: 43.44 kB / 399.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.322, allocations: 74.52 kB / 399.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.3223, allocations: 215.1 kB / 399.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3223, allocations: 5.406 kB / 399.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3223, allocations: 3.938 kB / 399.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3223, allocations: 0 / 399.8 MB, free: 6.684 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.0006532/0.323, allocations: 402.4 kB / 400.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.323, allocations: 14.45 kB / 400.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.3231, allocations: 47.55 kB / 400.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3231, allocations: 22.98 kB / 400.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.3234, allocations: 162.4 kB / 400.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3234, allocations: 15.25 kB / 400.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.3235, allocations: 18.89 kB / 400.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.3238, allocations: 162 kB / 400.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3238, allocations: 5.438 kB / 400.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3239, allocations: 5.438 kB / 400.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3239, allocations: 4.578 kB / 400.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.3241, allocations: 105.7 kB / 400.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009196/0.325, allocations: 0.5196 MB / 401.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.3253, allocations: 104.6 kB / 401.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.3254, allocations: 39.38 kB / 401.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3254, allocations: 2.719 kB / 401.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3254, allocations: 32.58 kB / 401.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3254, allocations: 3.938 kB / 401.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001642/0.3271, allocations: 0.6566 MB / 402.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.3271, allocations: 52.84 kB / 402.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3273, allocations: 161.6 kB / 402.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3273, allocations: 26.83 kB / 402.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.3274, allocations: 135.8 kB / 402.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.3274, allocations: 63.92 kB / 402.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.3275, allocations: 41.14 kB / 402.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.3275, allocations: 331.1 kB / 402.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3276, allocations: 45.66 kB / 403 MB, free: 4.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3278, allocations: 72.83 kB / 403 MB, free: 4.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.328, allocations: 131.4 kB / 403.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.328, allocations: 0 / 403.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004363/0.3284, allocations: 211.4 kB / 403.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3285, allocations: 9.172 kB / 403.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3285, allocations: 1.312 kB / 403.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.3287, allocations: 40.03 kB / 403.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3288, allocations: 33.48 kB / 403.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.3298, allocations: 1.421 MB / 404.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.417e-05/0.3299, allocations: 7.969 kB / 404.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.3299, allocations: 9.156 kB / 404.9 MB, free: 2.637 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.874e-05/0.33, allocations: 131.4 kB / 405 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.3301, allocations: 24.06 kB / 405 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.3301, allocations: 18.08 kB / 405.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3301, allocations: 1.094 kB / 405.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3301, allocations: 5.156 kB / 405.1 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3301, allocations: 2.672 kB / 405.1 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.3308, allocations: 0.5258 MB / 405.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3309, allocations: 0 / 405.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.331, allocations: 42.59 kB / 405.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.3311, allocations: 31.05 kB / 405.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3311, allocations: 9.219 kB / 405.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007636/0.3319, allocations: 1.365 MB / 407 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3319, allocations: 1.453 kB / 407 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.3324, allocations: 337 kB / 407.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.3324, allocations: 13.3 kB / 407.4 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.3324, allocations: 5.469 kB / 407.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3325, allocations: 7.469 kB / 407.4 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.3326, allocations: 12.44 kB / 407.4 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3326, allocations: 7.328 kB / 407.4 MB, free: 484 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.3327, allocations: 126 kB / 407.5 MB, free: 388 kB / 318.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3327, allocations: 4.125 kB / 407.5 MB, free: 384 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000318/0.333, allocations: 46.62 kB / 407.6 MB, free: 376 kB / 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.0008745/0.3339, allocations: 0.8591 MB / 408.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.3344, allocations: 256.5 kB / 408.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3344, allocations: 4.188 kB / 408.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.3347, allocations: 188 kB / 408.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.3351, allocations: 24.2 kB / 408.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.3381, allocations: 2.143 MB / 411.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.3382, allocations: 122.4 kB / 411.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.716e-05/0.3383, allocations: 18.5 kB / 411.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3384, allocations: 51.41 kB / 411.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3384, allocations: 0 / 411.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/0.3868, allocations: 4.356 MB / 415.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.14, allocations: 7.938 kB / 415.6 MB, free: 11.59 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.714079455006868]