Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 52.06 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.274, allocations: 52.19 MB / 422.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003548/0.2775, allocations: 2.147 MB / 424.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.2784, allocations: 0.5415 MB / 425.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2786, allocations: 4 kB / 425.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2787, allocations: 35.66 kB / 425.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2788, allocations: 55.55 kB / 425.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.279, allocations: 51.88 kB / 425.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.2793, allocations: 211 kB / 425.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.2794, allocations: 53.77 kB / 425.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.2795, allocations: 79.72 kB / 425.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.2797, allocations: 83.62 kB / 425.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.2797, allocations: 16 kB / 425.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.942e-05/0.2797, allocations: 16 kB / 425.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.2798, allocations: 31.91 kB / 425.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.2799, allocations: 103.5 kB / 426 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.2802, allocations: 211.5 kB / 426.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.2802, allocations: 4 kB / 426.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2802, allocations: 0 / 426.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2802, allocations: 0 / 426.2 MB, free: 11.08 MB / 334.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.0006837/0.2809, allocations: 393.5 kB / 426.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2809, allocations: 8.031 kB / 426.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.463e-05/0.281, allocations: 58.73 kB / 426.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.281, allocations: 24.8 kB / 426.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.2813, allocations: 170.2 kB / 426.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2813, allocations: 12.38 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.2814, allocations: 16.38 kB / 426.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.2817, allocations: 149.7 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.2817, allocations: 8 kB / 427.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2817, allocations: 4 kB / 427.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2817, allocations: 4 kB / 427.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.2819, allocations: 111.7 kB / 427.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.2828, allocations: 0.5528 MB / 427.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.2831, allocations: 110.6 kB / 427.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.2832, allocations: 40.78 kB / 427.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2832, allocations: 0 / 427.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2832, allocations: 42.5 kB / 427.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.2832, allocations: 0 / 427.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001459/0.2847, allocations: 0.6619 MB / 428.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.2847, allocations: 51.41 kB / 428.6 MB, free: 8.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2849, allocations: 158.2 kB / 428.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2849, allocations: 29.7 kB / 428.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.285, allocations: 124.4 kB / 428.9 MB, free: 8.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.2851, allocations: 67.44 kB / 429 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.2851, allocations: 37.7 kB / 429 MB, free: 8.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.2853, allocations: 330.8 kB / 429.4 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.2855, allocations: 39.98 kB / 429.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.2856, allocations: 81.22 kB / 429.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.2858, allocations: 131.3 kB / 429.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2858, allocations: 0 / 429.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003936/0.2862, allocations: 206.2 kB / 429.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2863, allocations: 4 kB / 429.8 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2863, allocations: 7.984 kB / 429.8 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.2864, allocations: 40.91 kB / 429.9 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.2866, allocations: 31.92 kB / 429.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.2881, allocations: 1.432 MB / 431.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.327e-05/0.2881, allocations: 8.031 kB / 431.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.2882, allocations: 8 kB / 431.3 MB, free: 5.582 MB / 334.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.0001303/0.2883, allocations: 129.8 kB / 431.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.2883, allocations: 15.91 kB / 431.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.2884, allocations: 25.17 kB / 431.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2884, allocations: 0 / 431.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.2884, allocations: 7.938 kB / 431.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2884, allocations: 0 / 431.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008439/0.2892, allocations: 0.5441 MB / 432.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2892, allocations: 3.984 kB / 432.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.2894, allocations: 31.92 kB / 432.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.2895, allocations: 40.81 kB / 432.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2895, allocations: 4 kB / 432.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.2907, allocations: 1.378 MB / 433.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2907, allocations: 0 / 433.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.2912, allocations: 336.1 kB / 433.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.2913, allocations: 23.94 kB / 433.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.2913, allocations: 4 kB / 433.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.2914, allocations: 4 kB / 433.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2914, allocations: 15.97 kB / 433.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2914, allocations: 0 / 433.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.2916, allocations: 124.1 kB / 434 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2916, allocations: 0 / 434 MB, free: 2.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.2919, allocations: 47.94 kB / 434.1 MB, free: 2.652 MB / 334.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.0008508/0.2927, allocations: 0.8627 MB / 434.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005721/0.2933, allocations: 257.2 kB / 435.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2933, allocations: 0 / 435.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.2936, allocations: 190.6 kB / 435.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2939, allocations: 20.22 kB / 435.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.2967, allocations: 2.149 MB / 437.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.2971, allocations: 0.7281 MB / 438.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.2971, allocations: 17.48 kB / 438.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.2972, allocations: 51.42 kB / 438.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2972, allocations: 0 / 438.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.3306, allocations: 3.932 MB / 442.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.44, allocations: 6.859 kB / 442.3 MB, free: 10.42 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.005029219999415]