Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001723/0.001723, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001754/0.001754, allocations: 212.7 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 43.94 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2598, allocations: 53.37 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008904/0.2687, allocations: 6.323 MB / 437.4 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006289/0.275, allocations: 2.995 MB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.2757, allocations: 43.81 kB / 440.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.2776, allocations: 0.7859 MB / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.2807, allocations: 1.319 MB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2819, allocations: 495 kB / 443 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003336/0.2852, allocations: 2.562 MB / 445.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.2865, allocations: 1.084 MB / 446.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009109/0.2874, allocations: 0.7705 MB / 447.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.289, allocations: 1.199 MB / 448.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.2893, allocations: 136 kB / 448.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2907, allocations: 0.7799 MB / 449.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009664/0.2916, allocations: 1.005 MB / 450.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008515/0.2925, allocations: 0.8457 MB / 451.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.2966, allocations: 3.952 MB / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2966, allocations: 4 kB / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2966, allocations: 0 / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.351e-05/0.2966, allocations: 0 / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005169/0.3018, allocations: 2.88 MB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3018, allocations: 12.03 kB / 458.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005223/0.3023, allocations: 450 kB / 458.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006251/0.3086, allocations: 1.664 MB / 460.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.3122, allocations: 1.477 MB / 461.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.3123, allocations: 122.8 kB / 462 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.3127, allocations: 159.8 kB / 462.1 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009967/0.3227, allocations: 6.351 MB / 468.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.92e-05/0.3228, allocations: 35.7 kB / 468.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.323, allocations: 87.88 kB / 468.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/0.3257, allocations: 1.441 MB / 470 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.3361, allocations: 5.654 MB / 475.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.3678, allocations: 25.29 MB / 0.4892 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.3721, allocations: 1.726 MB / 0.4909 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.3735, allocations: 0.942 MB / 0.4918 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.3735, allocations: 8 kB / 0.4918 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.3736, allocations: 54.48 kB / 0.4919 GB, free: 12.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.527e-06/0.3736, allocations: 0 / 0.4919 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02127/0.3949, allocations: 8.524 MB / 0.5002 GB, free: 3.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.395, allocations: 148.5 kB / 0.5004 GB, free: 3.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004275/0.3992, allocations: 2.994 MB / 0.5033 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.3994, allocations: 41.7 kB / 0.5033 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/0.4013, allocations: 2.155 MB / 0.5054 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005921/0.4018, allocations: 464.6 kB / 0.5059 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.4031, allocations: 0.8815 MB / 0.5067 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.4033, allocations: 301.1 kB / 0.507 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.4057, allocations: 1.41 MB / 0.5084 GB, free: 11.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004811/0.4105, allocations: 4.238 MB / 0.5125 GB, free: 5.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008059/0.4185, allocations: 6.12 MB / 0.5185 GB, free: 14.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.562e-05/0.4186, allocations: 32 kB / 0.5185 GB, free: 14.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01251/0.4311, allocations: 6.082 MB / 0.5245 GB, free: 8.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.281e-05/0.4312, allocations: 51.94 kB / 0.5245 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.4314, allocations: 104 kB / 0.5246 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.4338, allocations: 0.7891 MB / 0.5254 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/0.4374, allocations: 0.9903 MB / 0.5264 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006561/0.444, allocations: 4.341 MB / 0.5306 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003221/0.4472, allocations: 247.6 kB / 0.5308 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005728/0.4478, allocations: 280 kB / 0.5311 GB, free: 1.125 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (533): * Single equations (assignments): 529 * Array equations: 3 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002638/0.4504, allocations: 1.368 MB / 0.5324 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/0.451, allocations: 242.4 kB / 0.5327 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/0.455, allocations: 1.849 MB / 0.5345 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/0.455, allocations: 19.97 kB / 0.5345 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.455, allocations: 4 kB / 0.5345 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.455, allocations: 7.984 kB / 0.5345 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.4651, allocations: 4.504 MB / 0.5389 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.4652, allocations: 4 kB / 0.5389 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.4658, allocations: 135.8 kB / 0.539 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0021/0.4679, allocations: 0.6483 MB / 0.5397 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.468, allocations: 20 kB / 0.5397 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005551/0.4736, allocations: 3.83 MB / 0.5434 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4736, allocations: 4.031 kB / 0.5434 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006329/0.4799, allocations: 3.686 MB / 0.547 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007709/0.4807, allocations: 222.2 kB / 0.5473 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.481, allocations: 23.94 kB / 0.5473 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/0.4818, allocations: 59.91 kB / 0.5473 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.482, allocations: 59.83 kB / 0.5474 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/0.4821, allocations: 28.12 kB / 0.5474 GB, free: 184 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2119/0.694, allocations: 1.755 MB / 0.5491 GB, free: 114.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.694, allocations: 0 / 0.5491 GB, free: 114.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003455/0.6974, allocations: 0.6312 MB / 0.5497 GB, free: 114.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * Array equations: 3 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005677/0.7031, allocations: 4.32 MB / 0.554 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00437/0.7075, allocations: 3.292 MB / 0.5572 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7075, allocations: 0 / 0.5572 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008906/0.7084, allocations: 0.8684 MB / 0.558 GB, free: 111.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.7098, allocations: 253.4 kB / 0.5583 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.7383, allocations: 30.23 MB / 0.5878 GB, free: 81.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.7398, allocations: 1.618 MB / 0.5894 GB, free: 80.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002313/0.7421, allocations: 1.393 MB / 0.5907 GB, free: 78.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009595/0.743, allocations: 1.054 MB / 0.5918 GB, free: 77.64 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.743, allocations: 0 / 0.5918 GB, free: 77.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07708/0.8201, allocations: 43.69 MB / 0.6344 GB, free: 34.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.28, allocations: 6.781 kB / 0.6344 GB, free: 34.5 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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: 17.861511641996913]