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.001256/0.001256, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 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.00139/0.00139, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.364/1.364, allocations: 207.6 MB / 235.2 MB, free: 10.01 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.001804/0.001804, allocations: 51.94 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2682, allocations: 49.17 MB / 396.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003096/0.2713, allocations: 2.132 MB / 398.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.2723, allocations: 0.5982 MB / 399.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.2724, allocations: 8.312 kB / 399.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2726, allocations: 33.77 kB / 399.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.2727, allocations: 51.52 kB / 399.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.2729, allocations: 49.09 kB / 399.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.2732, allocations: 207.1 kB / 399.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.2734, allocations: 53.88 kB / 399.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2735, allocations: 85.41 kB / 399.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.2736, allocations: 86.56 kB / 399.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.2736, allocations: 17.19 kB / 399.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-05/0.2737, allocations: 16.78 kB / 399.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.2737, allocations: 38.14 kB / 399.7 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.2738, allocations: 88.14 kB / 399.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.2741, allocations: 216.6 kB / 400 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2741, allocations: 0.9375 kB / 400 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2741, allocations: 0 / 400 MB, free: 6.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.2741, allocations: 0 / 400 MB, free: 6.594 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.0006099/0.2747, allocations: 407.7 kB / 400.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2748, allocations: 13.05 kB / 400.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.2748, allocations: 47.88 kB / 400.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.2749, allocations: 23.16 kB / 400.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.2751, allocations: 162.3 kB / 400.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2751, allocations: 14.97 kB / 400.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.2752, allocations: 19.08 kB / 400.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.2755, allocations: 164.8 kB / 400.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2755, allocations: 1.469 kB / 400.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.2755, allocations: 6.781 kB / 400.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2755, allocations: 3.656 kB / 400.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.2758, allocations: 106.5 kB / 401 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007812/0.2765, allocations: 0.5515 MB / 401.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2767, allocations: 107.5 kB / 401.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.2768, allocations: 39.64 kB / 401.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2768, allocations: 6.172 kB / 401.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2769, allocations: 32.72 kB / 401.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.2769, allocations: 4 kB / 401.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00132/0.2782, allocations: 0.6462 MB / 402.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.2782, allocations: 53.42 kB / 402.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2783, allocations: 164.5 kB / 402.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2783, allocations: 31.56 kB / 402.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.2784, allocations: 131 kB / 402.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.2784, allocations: 64.61 kB / 402.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.2785, allocations: 35.58 kB / 402.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.2785, allocations: 327.3 kB / 403.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.2786, allocations: 45.08 kB / 403.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2787, allocations: 77.52 kB / 403.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.2789, allocations: 133.8 kB / 403.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2789, allocations: 0.7031 kB / 403.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003525/0.2793, allocations: 215 kB / 403.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2793, allocations: 13 kB / 403.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2793, allocations: 2.359 kB / 403.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.2795, allocations: 38.08 kB / 403.6 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2797, allocations: 33.92 kB / 403.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009893/0.2806, allocations: 1.43 MB / 405.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.2807, allocations: 4.359 kB / 405.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2808, allocations: 13.47 kB / 405.1 MB, free: 2.516 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.0001004/0.2809, allocations: 131.7 kB / 405.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.2809, allocations: 14.78 kB / 405.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.2809, allocations: 22.06 kB / 405.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2809, allocations: 1.906 kB / 405.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2809, allocations: 4.969 kB / 405.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2809, allocations: 2.312 kB / 405.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.2817, allocations: 0.5485 MB / 405.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2817, allocations: 0 / 405.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.2818, allocations: 26.62 kB / 405.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.2819, allocations: 34.08 kB / 405.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2819, allocations: 2.125 kB / 405.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00075/0.2827, allocations: 1.384 MB / 407.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2827, allocations: 0 / 407.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.2831, allocations: 344.4 kB / 407.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.2831, allocations: 13.53 kB / 407.6 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2832, allocations: 2.359 kB / 407.6 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.2833, allocations: 6.281 kB / 407.6 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.2833, allocations: 12.92 kB / 407.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.2833, allocations: 11.09 kB / 407.7 MB, free: 348 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.378e-05/0.2834, allocations: 118 kB / 407.8 MB, free: 260 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2834, allocations: 1.188 kB / 407.8 MB, free: 260 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.2837, allocations: 45.59 kB / 407.8 MB, free: 252 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.0007647/0.2845, allocations: 0.8656 MB / 408.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.285, allocations: 257.7 kB / 408.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.285, allocations: 0 / 408.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.2852, allocations: 187.8 kB / 409.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.2856, allocations: 33.69 kB / 409.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.2884, allocations: 2.141 MB / 411.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.2888, allocations: 0.7337 MB / 412 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.864e-05/0.2889, allocations: 17.53 kB / 412.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.289, allocations: 48.27 kB / 412.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of SimCode: time 1.031e-06/0.289, allocations: 3.938 kB / 412.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.3232, allocations: 3.924 MB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.91, allocations: 5.188 kB / 416 MB, free: 11.27 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.305418958996597]