Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001517/0.001517, allocations: 103.9 kB / 21.96 MB, free: 5.219 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.001601/0.001601, allocations: 213.5 kB / 25.26 MB, free: 3.129 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.304/1.304, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] 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.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="cs",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.001675/0.001675, allocations: 56.34 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2653, allocations: 49.17 MB / 397.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.008353/0.2737, allocations: 9.027 MB / 406.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006277/0.28, allocations: 3.684 MB / 409.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.281, allocations: 64.34 kB / 409.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.2844, allocations: 2.024 MB / 411.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.2883, allocations: 1.69 MB / 413.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.2899, allocations: 0.6977 MB / 414.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00461/0.2945, allocations: 3.39 MB / 417.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.2974, allocations: 2.222 MB / 419.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.2995, allocations: 1.294 MB / 421.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.3023, allocations: 1.904 MB / 423.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005802/0.3029, allocations: 264.3 kB / 423.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.3052, allocations: 1.03 MB / 424.4 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.3069, allocations: 1.62 MB / 426.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.3086, allocations: 1.386 MB / 427.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.3154, allocations: 6.009 MB / 433.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3154, allocations: 0 / 433.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3154, allocations: 0 / 433.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.547e-05/0.3155, allocations: 0 / 433.4 MB, free: 14.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.007446/0.3229, allocations: 4.187 MB / 437.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.323, allocations: 15.98 kB / 437.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001172/0.3231, allocations: 89.52 kB / 437.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007517/0.3238, allocations: 0.6413 MB / 438.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006359/0.3302, allocations: 1.886 MB / 440.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004443/0.3346, allocations: 2.329 MB / 442.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.3348, allocations: 209.2 kB / 442.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005289/0.3353, allocations: 267.9 kB / 443.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.3531, allocations: 10.03 MB / 453.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.835e-05/0.3532, allocations: 35.69 kB / 453.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003887/0.3536, allocations: 139.9 kB / 453.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/0.357, allocations: 1.844 MB / 455.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/0.3754, allocations: 8.544 MB / 463.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0439/0.4193, allocations: 35.45 MB / 499.1 MB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009149/0.4285, allocations: 3.067 MB / 0.4904 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/0.4309, allocations: 1.697 MB / 0.492 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.4416, allocations: 6.262 MB / 0.4982 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/0.4416, allocations: 51.5 kB / 0.4982 GB, free: 148 kB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 4.519e-06/0.4416, allocations: 0 / 0.4982 GB, free: 148 kB / 414.1 MB Notification: Performance of matching and sorting (n=166): time 0.05114/0.4928, allocations: 17.52 MB / 0.5153 GB, free: 14.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.4929, allocations: 149.5 kB / 0.5155 GB, free: 14.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/0.498, allocations: 3.507 MB / 0.5189 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.4982, allocations: 49.7 kB / 0.5189 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00218/0.5003, allocations: 2.854 MB / 0.5217 GB, free: 7.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006923/0.501, allocations: 0.6706 MB / 0.5224 GB, free: 7.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00156/0.5026, allocations: 1.12 MB / 0.5235 GB, free: 6.148 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5028, allocations: 309.1 kB / 0.5238 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/0.5057, allocations: 1.935 MB / 0.5257 GB, free: 3.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005941/0.5117, allocations: 5.373 MB / 0.5309 GB, free: 12.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009745/0.5214, allocations: 7.912 MB / 0.5386 GB, free: 3.199 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.218e-05/0.5215, allocations: 36 kB / 0.5387 GB, free: 3.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01457/0.536, allocations: 8.152 MB / 0.5466 GB, free: 11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.502e-05/0.5361, allocations: 56 kB / 0.5467 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.5363, allocations: 124 kB / 0.5468 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/0.5403, allocations: 1.297 MB / 0.5481 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/0.5439, allocations: 1.255 MB / 0.5493 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00948/0.5534, allocations: 6.395 MB / 0.5555 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/0.5572, allocations: 299.7 kB / 0.5558 GB, free: 1.461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007263/0.5579, allocations: 340 kB / 0.5561 GB, free: 1.129 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (681): * Single equations (assignments): 677 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1771/0.735, allocations: 1.819 MB / 0.5579 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007279/0.7357, allocations: 321.9 kB / 0.5582 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/0.7429, allocations: 3.353 MB / 0.5615 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/0.7429, allocations: 18.88 kB / 0.5615 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.7429, allocations: 5.406 kB / 0.5615 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.7429, allocations: 9.672 kB / 0.5615 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.7566, allocations: 7.241 MB / 0.5686 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.7566, allocations: 1.125 kB / 0.5686 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.7576, allocations: 240.8 kB / 0.5688 GB, free: 140.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003948/0.7616, allocations: 1.123 MB / 0.5699 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.7618, allocations: 29.16 kB / 0.57 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.7728, allocations: 6.01 MB / 0.5758 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7728, allocations: 1.125 kB / 0.5758 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.7834, allocations: 5.714 MB / 0.5814 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.7846, allocations: 0.5193 MB / 0.5819 GB, free: 135.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/0.7849, allocations: 23.84 kB / 0.5819 GB, free: 135.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7861, allocations: 94.38 kB / 0.582 GB, free: 135.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.7864, allocations: 86.88 kB / 0.5821 GB, free: 135.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.7865, allocations: 43.38 kB / 0.5822 GB, free: 135.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002686/0.7892, allocations: 2.166 MB / 0.5843 GB, free: 134.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7892, allocations: 0 / 0.5843 GB, free: 134.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003461/0.7926, allocations: 0.9194 MB / 0.5852 GB, free: 134.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00754/0.8002, allocations: 6.36 MB / 0.5914 GB, free: 129.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005494/0.8057, allocations: 4.582 MB / 0.5959 GB, free: 125.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8057, allocations: 3.828 kB / 0.5959 GB, free: 125.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.8073, allocations: 1.432 MB / 0.5973 GB, free: 123.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.8092, allocations: 352.9 kB / 0.5976 GB, free: 123.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04513/0.8543, allocations: 41.35 MB / 0.638 GB, free: 77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.8564, allocations: 2.301 MB / 0.6402 GB, free: 74.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003037/0.8595, allocations: 1.699 MB / 0.6419 GB, free: 72.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.861, allocations: 1.597 MB / 0.6434 GB, free: 71.37 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/0.861, allocations: 0 / 0.6434 GB, free: 71.37 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/0.9701, allocations: 63.15 MB / 0.7051 GB, free: 8.043 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/20.05, allocations: 14.19 kB / 0.7051 GB, free: 8.031 MB / 478.1 MB " [Timeout remaining time 640] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.338961067027412]