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.001901/0.001901, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002484/0.002484, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001642/0.001642, allocations: 51.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2298, allocations: 53.36 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00919/0.2389, allocations: 6.319 MB / 437.4 MB, free: 284 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.245, allocations: 2.999 MB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/0.2458, allocations: 39.81 kB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.2476, allocations: 0.782 MB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.2506, allocations: 1.316 MB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2517, allocations: 0.4951 MB / 443 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.2552, allocations: 2.554 MB / 445.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.2568, allocations: 1.076 MB / 446.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.258, allocations: 0.7705 MB / 447.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.2598, allocations: 1.172 MB / 448.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.2601, allocations: 136 kB / 448.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2617, allocations: 0.7682 MB / 449.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.2627, allocations: 1.009 MB / 450.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009534/0.2637, allocations: 0.8457 MB / 451.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.2684, allocations: 3.944 MB / 455.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2684, allocations: 0 / 455.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2684, allocations: 0 / 455.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.293e-05/0.2685, allocations: 0 / 455.3 MB, free: 14.3 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.005207/0.2737, allocations: 2.88 MB / 458.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2737, allocations: 8.031 kB / 458.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006097/0.2743, allocations: 458 kB / 458.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/0.2804, allocations: 1.66 MB / 460.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.2836, allocations: 1.497 MB / 461.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.2837, allocations: 118.9 kB / 461.9 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.284, allocations: 151.9 kB / 462.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009796/0.2938, allocations: 6.363 MB / 468.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.969e-05/0.2939, allocations: 35.7 kB / 468.5 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.2941, allocations: 79.89 kB / 468.5 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002597/0.2967, allocations: 1.437 MB / 470 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.3071, allocations: 5.661 MB / 475.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.339, allocations: 25.28 MB / 0.4892 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.3432, allocations: 1.729 MB / 0.4909 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.3445, allocations: 0.9442 MB / 0.4918 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.3445, allocations: 8 kB / 0.4918 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3446, allocations: 42.56 kB / 0.4918 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.035e-06/0.3446, allocations: 0 / 0.4918 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02144/0.366, allocations: 8.545 MB / 0.5002 GB, free: 3.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.3661, allocations: 136.5 kB / 0.5003 GB, free: 3.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/0.37, allocations: 2.994 MB / 0.5032 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.3702, allocations: 41.7 kB / 0.5033 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.3719, allocations: 2.159 MB / 0.5054 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/0.3724, allocations: 452.6 kB / 0.5058 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.3735, allocations: 0.8854 MB / 0.5067 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3736, allocations: 309.1 kB / 0.507 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.3758, allocations: 1.402 MB / 0.5083 GB, free: 11.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/0.3804, allocations: 4.234 MB / 0.5125 GB, free: 5.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007869/0.3883, allocations: 6.128 MB / 0.5185 GB, free: 14.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.108e-05/0.3883, allocations: 32 kB / 0.5185 GB, free: 14.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01238/0.4007, allocations: 6.089 MB / 0.5244 GB, free: 8.043 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.164e-05/0.4008, allocations: 48 kB / 0.5245 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/0.4009, allocations: 103.9 kB / 0.5246 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/0.4033, allocations: 0.8012 MB / 0.5254 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/0.4063, allocations: 0.9825 MB / 0.5263 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/0.4125, allocations: 4.337 MB / 0.5306 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.4153, allocations: 247.6 kB / 0.5308 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004562/0.4158, allocations: 280 kB / 0.5311 GB, free: 1.145 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.001939/0.4177, allocations: 1.36 MB / 0.5324 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.4181, allocations: 250.2 kB / 0.5326 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.4221, allocations: 1.849 MB / 0.5344 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.4221, allocations: 15.94 kB / 0.5345 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.4221, allocations: 4 kB / 0.5345 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.4221, allocations: 3.984 kB / 0.5345 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009278/0.4314, allocations: 4.516 MB / 0.5389 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.4314, allocations: 4 kB / 0.5389 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.432, allocations: 131.8 kB / 0.539 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/0.4341, allocations: 0.6444 MB / 0.5396 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.867e-05/0.4342, allocations: 20.06 kB / 0.5396 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005329/0.4396, allocations: 3.822 MB / 0.5434 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.4396, allocations: 8.031 kB / 0.5434 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006284/0.4459, allocations: 3.69 MB / 0.547 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/0.4465, allocations: 222.3 kB / 0.5472 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/0.4467, allocations: 24.34 kB / 0.5472 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008849/0.4476, allocations: 67.89 kB / 0.5473 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.4478, allocations: 51.89 kB / 0.5473 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/0.4479, allocations: 35.94 kB / 0.5474 GB, free: 200 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.1904/0.6383, allocations: 1.75 MB / 0.5491 GB, free: 114.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6383, allocations: 0 / 0.5491 GB, free: 114.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003333/0.6416, allocations: 0.6314 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.005935/0.6476, allocations: 4.322 MB / 0.5539 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004379/0.652, allocations: 3.291 MB / 0.5571 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.652, allocations: 0 / 0.5571 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.6529, allocations: 0.8612 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.001601/0.6545, allocations: 258.1 kB / 0.5582 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/0.6867, allocations: 30.23 MB / 0.5877 GB, free: 81.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.6882, allocations: 1.626 MB / 0.5893 GB, free: 80.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002425/0.6906, allocations: 1.392 MB / 0.5907 GB, free: 78.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.6917, allocations: 1.047 MB / 0.5917 GB, free: 77.59 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6917, allocations: 0 / 0.5917 GB, free: 77.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08212/0.7738, allocations: 41.75 MB / 0.6325 GB, free: 36.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.3, allocations: 4.062 kB / 0.6325 GB, free: 36.4 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.93329481082037]