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.00168/0.00168, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002395/0.002395, allocations: 210.5 kB / 23.74 MB, free: 4.66 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.001542/0.001542, allocations: 47.94 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2788, allocations: 53.36 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009795/0.2886, allocations: 7.148 MB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007025/0.2957, allocations: 3.22 MB / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.2971, allocations: 35.81 kB / 441.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.2994, allocations: 0.8132 MB / 442.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.3035, allocations: 1.316 MB / 443.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.3049, allocations: 495 kB / 444.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004173/0.3091, allocations: 2.562 MB / 446.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.3109, allocations: 1.082 MB / 447.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.3123, allocations: 0.7628 MB / 448.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.3144, allocations: 1.215 MB / 449.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005215/0.315, allocations: 132 kB / 449.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.3168, allocations: 0.9048 MB / 450.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.318, allocations: 1.005 MB / 451.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.3196, allocations: 1.176 MB / 453 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005852/0.3254, allocations: 3.945 MB / 456.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3254, allocations: 0 / 456.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3254, allocations: 0 / 456.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000107/0.3255, allocations: 4 kB / 456.9 MB, free: 12.93 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.006634/0.3322, allocations: 2.884 MB / 459.8 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.3322, allocations: 8.031 kB / 459.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007729/0.333, allocations: 450 kB / 460.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006128/0.3391, allocations: 1.668 MB / 461.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.3428, allocations: 1.481 MB / 463.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.3429, allocations: 122.8 kB / 463.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.3434, allocations: 147.9 kB / 463.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.3541, allocations: 6.359 MB / 470 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.32e-05/0.3542, allocations: 31.7 kB / 470.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002787/0.3544, allocations: 83.88 kB / 470.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002567/0.357, allocations: 1.437 MB / 471.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.368, allocations: 5.669 MB / 477.3 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0355/0.4035, allocations: 26.14 MB / 0.4916 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/0.4078, allocations: 1.738 MB / 0.4933 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.4092, allocations: 0.9404 MB / 0.4942 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-05/0.4093, allocations: 11.92 kB / 0.4942 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4093, allocations: 42.56 kB / 0.4943 GB, free: 10.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.915e-06/0.4093, allocations: 4 kB / 0.4943 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02163/0.431, allocations: 8.482 MB / 0.5026 GB, free: 1.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/0.4311, allocations: 152.4 kB / 0.5027 GB, free: 1.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.4352, allocations: 2.828 MB / 0.5055 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.4354, allocations: 37.7 kB / 0.5055 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.4372, allocations: 2.155 MB / 0.5076 GB, free: 12.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/0.4378, allocations: 464.6 kB / 0.5081 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.4391, allocations: 0.8854 MB / 0.5089 GB, free: 11.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4392, allocations: 301.1 kB / 0.5092 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.4416, allocations: 1.41 MB / 0.5106 GB, free: 9.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005013/0.4466, allocations: 4.234 MB / 0.5147 GB, free: 3.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008045/0.4546, allocations: 6.124 MB / 0.5207 GB, free: 12.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.186e-05/0.4547, allocations: 28.19 kB / 0.5207 GB, free: 12.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01363/0.4684, allocations: 6.095 MB / 0.5267 GB, free: 6.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/0.4685, allocations: 48 kB / 0.5267 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.4686, allocations: 108.8 kB / 0.5268 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.471, allocations: 0.7889 MB / 0.5276 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00337/0.4744, allocations: 0.9864 MB / 0.5286 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006501/0.4809, allocations: 4.363 MB / 0.5328 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/0.4842, allocations: 263.6 kB / 0.5331 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005349/0.4848, allocations: 280 kB / 0.5333 GB, free: 15.07 MB / 462.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.002441/0.4872, allocations: 1.364 MB / 0.5347 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/0.4877, allocations: 242.4 kB / 0.5349 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.492, allocations: 1.845 MB / 0.5367 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/0.492, allocations: 19.84 kB / 0.5367 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.492, allocations: 4 kB / 0.5367 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.492, allocations: 3.984 kB / 0.5367 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.5023, allocations: 4.742 MB / 0.5414 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.5023, allocations: 0 / 0.5414 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.503, allocations: 135.8 kB / 0.5415 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.5051, allocations: 0.6483 MB / 0.5421 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.5052, allocations: 16 kB / 0.5421 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005532/0.5107, allocations: 3.869 MB / 0.5459 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5108, allocations: 4.031 kB / 0.5459 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2063/0.717, allocations: 3.68 MB / 0.5495 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/0.7176, allocations: 234 kB / 0.5497 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.7179, allocations: 12.48 kB / 0.5498 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008445/0.7187, allocations: 61.86 kB / 0.5498 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.7189, allocations: 63.47 kB / 0.5499 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.856e-05/0.719, allocations: 31.47 kB / 0.5499 GB, free: 113.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002575/0.7216, allocations: 1.752 MB / 0.5516 GB, free: 113.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7216, allocations: 0 / 0.5516 GB, free: 113.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002913/0.7245, allocations: 0.6264 MB / 0.5522 GB, free: 113.2 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.005094/0.7296, allocations: 4.326 MB / 0.5564 GB, free: 111.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004344/0.7339, allocations: 3.287 MB / 0.5597 GB, free: 110.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7339, allocations: 0 / 0.5597 GB, free: 110.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009256/0.7348, allocations: 0.8632 MB / 0.5605 GB, free: 110 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.7363, allocations: 260.3 kB / 0.5607 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/0.768, allocations: 30.23 MB / 0.5903 GB, free: 79.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.7696, allocations: 2.184 MB / 0.5924 GB, free: 77.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002318/0.7719, allocations: 1.396 MB / 0.5938 GB, free: 76.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.7729, allocations: 1.054 MB / 0.5948 GB, free: 75.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7729, allocations: 0 / 0.5948 GB, free: 75.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09145/0.8644, allocations: 45.48 MB / 0.6392 GB, free: 30.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.23/21.1, allocations: 10.55 kB / 0.6392 GB, free: 30.07 MB / 462.1 MB " [Timeout remaining time 639] (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: 23.749355655996624]