Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001866/0.001866, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.002473/0.002473, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.399/1.399, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",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.001789/0.001789, allocations: 52.39 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.262, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007144/0.2692, allocations: 7.182 MB / 403.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005729/0.2749, allocations: 3.207 MB / 406.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009437/0.2759, allocations: 38.81 kB / 406.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.2776, allocations: 0.8033 MB / 407.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.2807, allocations: 1.342 MB / 408.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2819, allocations: 0.4966 MB / 409.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003828/0.2857, allocations: 2.543 MB / 412 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.2875, allocations: 1.1 MB / 413.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.2889, allocations: 0.7756 MB / 413.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.2906, allocations: 1.224 MB / 415.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.291, allocations: 134.6 kB / 415.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.2929, allocations: 0.9062 MB / 416.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.294, allocations: 1.026 MB / 417.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.2955, allocations: 1.206 MB / 418.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005328/0.3008, allocations: 3.991 MB / 422.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3008, allocations: 0 / 422.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3008, allocations: 0 / 422.3 MB, free: 9.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.394e-05/0.3009, allocations: 0 / 422.3 MB, free: 9.055 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005993/0.3069, allocations: 2.922 MB / 425.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.307, allocations: 15.98 kB / 425.3 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00061/0.3076, allocations: 450 kB / 425.7 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006041/0.3136, allocations: 1.664 MB / 427.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/0.3175, allocations: 1.731 MB / 429.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3177, allocations: 114.9 kB / 429.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004021/0.3181, allocations: 159.8 kB / 429.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009834/0.3279, allocations: 6.359 MB / 435.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.51e-05/0.328, allocations: 35.75 kB / 435.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.3282, allocations: 75.89 kB / 435.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002511/0.3307, allocations: 1.441 MB / 437.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.3412, allocations: 5.666 MB / 442.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03266/0.3739, allocations: 26.16 MB / 469.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/0.3782, allocations: 1.736 MB / 470.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.3795, allocations: 0.9441 MB / 471.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.3796, allocations: 15.97 kB / 471.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.3796, allocations: 46.5 kB / 471.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.396e-06/0.3796, allocations: 0 / 471.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02189/0.4015, allocations: 8.543 MB / 480.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.4016, allocations: 140.5 kB / 480.5 MB, free: 13.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/0.4059, allocations: 2.856 MB / 483.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.4061, allocations: 37.7 kB / 483.4 MB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.4079, allocations: 2.17 MB / 485.6 MB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005939/0.4085, allocations: 452.6 kB / 486 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.4099, allocations: 0.8932 MB / 486.9 MB, free: 7.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.41, allocations: 305.1 kB / 487.2 MB, free: 6.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.4122, allocations: 1.406 MB / 488.6 MB, free: 5.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004556/0.4168, allocations: 4.234 MB / 492.9 MB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007557/0.4244, allocations: 6.127 MB / 499 MB, free: 8.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-05/0.4244, allocations: 28 kB / 499 MB, free: 8.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01184/0.4363, allocations: 6.077 MB / 0.4933 GB, free: 1.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.47e-05/0.4363, allocations: 51.94 kB / 0.4933 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/0.4364, allocations: 100 kB / 0.4934 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/0.4387, allocations: 0.8052 MB / 0.4942 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.4417, allocations: 0.9825 MB / 0.4951 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.4481, allocations: 4.37 MB / 0.4994 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/0.4513, allocations: 255.7 kB / 0.4997 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005444/0.4519, allocations: 272 kB / 0.4999 GB, free: 11.04 MB / 430.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.002452/0.4543, allocations: 1.364 MB / 0.5012 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/0.4548, allocations: 246.3 kB / 0.5015 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.4589, allocations: 1.857 MB / 0.5033 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.612e-05/0.4589, allocations: 12 kB / 0.5033 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4589, allocations: 4 kB / 0.5033 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.459, allocations: 3.984 kB / 0.5033 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.4697, allocations: 4.77 MB / 0.508 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.4697, allocations: 0 / 0.508 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/0.4704, allocations: 131.8 kB / 0.5081 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.4725, allocations: 0.6444 MB / 0.5087 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.4726, allocations: 20 kB / 0.5087 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005464/0.4781, allocations: 3.857 MB / 0.5125 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4781, allocations: 4.031 kB / 0.5125 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.4844, allocations: 3.699 MB / 0.5161 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.4856, allocations: 378 kB / 0.5165 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/0.486, allocations: 15.94 kB / 0.5165 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/0.4869, allocations: 67.89 kB / 0.5166 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.4871, allocations: 63.89 kB / 0.5166 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/0.4872, allocations: 28 kB / 0.5167 GB, free: 9.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002984/0.4902, allocations: 1.766 MB / 0.5184 GB, free: 7.867 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4902, allocations: 0 / 0.5184 GB, free: 7.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003416/0.4936, allocations: 0.6445 MB / 0.519 GB, free: 7.223 MB / 446.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.006814/0.5004, allocations: 4.319 MB / 0.5232 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006794/0.5072, allocations: 3.284 MB / 0.5264 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5072, allocations: 0 / 0.5264 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.5086, allocations: 0.8663 MB / 0.5273 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.5106, allocations: 261.8 kB / 0.5275 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/0.7278, allocations: 30.32 MB / 0.5571 GB, free: 148.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/0.7303, allocations: 2.197 MB / 0.5593 GB, free: 148 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003431/0.7338, allocations: 1.399 MB / 0.5607 GB, free: 147.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/0.7353, allocations: 1.051 MB / 0.5617 GB, free: 147.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.463e-06/0.7353, allocations: 0 / 0.5617 GB, free: 147.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08104/0.8164, allocations: 45.68 MB / 0.6063 GB, free: 113.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.46/21.27, allocations: 6.938 kB / 0.6063 GB, free: 113.9 MB / 478.1 MB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.8333143169948]