Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 205.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 71.89 kB / 377.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2459, allocations: 53.41 MB / 431.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.0115/0.2574, allocations: 9.028 MB / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007266/0.2647, allocations: 3.684 MB / 443.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007724/0.2654, allocations: 59.75 kB / 443.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003974/0.2694, allocations: 2.032 MB / 446 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003562/0.273, allocations: 1.653 MB / 447.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.2745, allocations: 0.6979 MB / 448.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.2787, allocations: 3.396 MB / 451.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003055/0.2818, allocations: 2.205 MB / 453.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.2837, allocations: 1.273 MB / 455.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.2864, allocations: 1.791 MB / 457 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006616/0.2871, allocations: 264 kB / 457.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.2891, allocations: 1.002 MB / 458.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.2908, allocations: 1.601 MB / 459.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.2928, allocations: 1.367 MB / 461.2 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006615/0.2994, allocations: 5.941 MB / 467.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2994, allocations: 0 / 467.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2994, allocations: 0 / 467.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001683/0.2996, allocations: 3.938 kB / 467.1 MB, free: 2.273 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.007693/0.3073, allocations: 4.149 MB / 471.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3073, allocations: 15.98 kB / 471.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007465/0.308, allocations: 0.6335 MB / 471.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006585/0.3146, allocations: 1.894 MB / 473.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004759/0.3194, allocations: 2.056 MB / 475.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.3196, allocations: 205.2 kB / 476.1 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006004/0.3202, allocations: 267.9 kB / 476.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.3396, allocations: 10.07 MB / 486.4 MB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.372e-05/0.3397, allocations: 35.69 kB / 486.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.3401, allocations: 135.9 kB / 486.6 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003172/0.3432, allocations: 1.856 MB / 488.4 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/0.3617, allocations: 8.548 MB / 497 MB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04785/0.4096, allocations: 35.43 MB / 0.5199 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009538/0.4191, allocations: 3.091 MB / 0.523 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.4215, allocations: 1.693 MB / 0.5246 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.432, allocations: 6.258 MB / 0.5307 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.4321, allocations: 55.56 kB / 0.5308 GB, free: 3.934 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.978e-06/0.4321, allocations: 0 / 0.5308 GB, free: 3.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2245/0.6566, allocations: 17.57 MB / 0.5479 GB, free: 99.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.6566, allocations: 145.1 kB / 0.5481 GB, free: 99.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.6603, allocations: 3.689 MB / 0.5517 GB, free: 96.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.6606, allocations: 53.09 kB / 0.5517 GB, free: 96.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009639/0.6615, allocations: 2.845 MB / 0.5545 GB, free: 94.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003963/0.6619, allocations: 0.6711 MB / 0.5552 GB, free: 93.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009848/0.6629, allocations: 1.12 MB / 0.5563 GB, free: 92.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.663, allocations: 305.1 kB / 0.5565 GB, free: 92.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.6651, allocations: 1.951 MB / 0.5584 GB, free: 90.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/0.668, allocations: 5.381 MB / 0.5637 GB, free: 83.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005511/0.6735, allocations: 7.946 MB / 0.5715 GB, free: 73.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.545e-05/0.6736, allocations: 32 kB / 0.5715 GB, free: 73.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01115/0.6847, allocations: 8.173 MB / 0.5795 GB, free: 65.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.6848, allocations: 60.22 kB / 0.5795 GB, free: 65.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.165e-05/0.6849, allocations: 124 kB / 0.5797 GB, free: 65.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003474/0.6883, allocations: 1.291 MB / 0.5809 GB, free: 63.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.6914, allocations: 1.267 MB / 0.5821 GB, free: 62.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006899/0.6983, allocations: 6.389 MB / 0.5884 GB, free: 56.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/0.7015, allocations: 308.5 kB / 0.5887 GB, free: 55.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/0.7019, allocations: 343.9 kB / 0.589 GB, free: 55.45 MB / 446.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.001886/0.7038, allocations: 1.819 MB / 0.5908 GB, free: 53.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/0.7043, allocations: 313.9 kB / 0.5911 GB, free: 53.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006128/0.7104, allocations: 3.377 MB / 0.5944 GB, free: 49.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.7104, allocations: 20 kB / 0.5944 GB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7104, allocations: 4 kB / 0.5944 GB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7104, allocations: 7.969 kB / 0.5944 GB, free: 49.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.7225, allocations: 7.256 MB / 0.6015 GB, free: 42.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.7225, allocations: 4 kB / 0.6015 GB, free: 42.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.7235, allocations: 243.7 kB / 0.6017 GB, free: 42.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/0.7268, allocations: 1.115 MB / 0.6028 GB, free: 41.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.727, allocations: 28 kB / 0.6029 GB, free: 41.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006701/0.7337, allocations: 6.017 MB / 0.6087 GB, free: 35.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7337, allocations: 4.031 kB / 0.6087 GB, free: 35.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008062/0.7417, allocations: 5.755 MB / 0.6144 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/0.7425, allocations: 289.8 kB / 0.6146 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/0.7431, allocations: 31.42 kB / 0.6147 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.7444, allocations: 95.23 kB / 0.6147 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.7447, allocations: 92.81 kB / 0.6148 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.7448, allocations: 47.98 kB / 0.6149 GB, free: 28.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00243/0.7472, allocations: 2.142 MB / 0.617 GB, free: 26.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7472, allocations: 0 / 0.617 GB, free: 26.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003508/0.7507, allocations: 0.8945 MB / 0.6178 GB, free: 25.75 MB / 446.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.008204/0.7589, allocations: 6.391 MB / 0.6241 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006003/0.7649, allocations: 4.617 MB / 0.6286 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7649, allocations: 0 / 0.6286 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.7668, allocations: 1.456 MB / 0.63 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.7688, allocations: 351.5 kB / 0.6304 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06628/0.8351, allocations: 41.31 MB / 0.6707 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003994/0.8391, allocations: 2.304 MB / 0.673 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004221/0.8433, allocations: 1.699 MB / 0.6746 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002822/0.8461, allocations: 1.581 MB / 0.6762 GB, free: 8.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.8461, allocations: 4 kB / 0.6762 GB, free: 8.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3081/1.154, allocations: 60.75 MB / 0.7355 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.63, allocations: 14.81 kB / 0.7355 GB, free: 186.3 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 19.295490297023207]