Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.002232/0.002232, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001797/0.001797, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.86 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2713, allocations: 53.36 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01346/0.2848, allocations: 10.78 MB / 441.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008869/0.2937, allocations: 3.99 MB / 445.9 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.2956, allocations: 75.62 kB / 446 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005653/0.3012, allocations: 2.616 MB / 448.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005233/0.3065, allocations: 1.778 MB / 450.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.3088, allocations: 0.6824 MB / 451.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006407/0.3152, allocations: 3.72 MB / 454.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/0.3191, allocations: 2.726 MB / 457.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.3216, allocations: 1.491 MB / 459 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003602/0.3252, allocations: 2.114 MB / 461.1 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006785/0.3259, allocations: 312 kB / 461.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.3285, allocations: 1.19 MB / 462.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.3305, allocations: 1.854 MB / 464.5 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.3335, allocations: 2.124 MB / 466.6 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008872/0.3424, allocations: 6.684 MB / 473.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3424, allocations: 0 / 473.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3424, allocations: 0 / 473.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00021/0.3426, allocations: 0 / 473.3 MB, free: 12.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.0105/0.3531, allocations: 4.592 MB / 477.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3532, allocations: 8.031 kB / 477.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001027/0.3542, allocations: 0.7275 MB / 478.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007279/0.3615, allocations: 1.971 MB / 480.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/0.3667, allocations: 2.16 MB / 482.7 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.3669, allocations: 250.2 kB / 483 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.3679, allocations: 391.7 kB / 483.4 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.3874, allocations: 10.11 MB / 493.5 MB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.3875, allocations: 39.69 kB / 493.5 MB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007705/0.3883, allocations: 159.9 kB / 493.7 MB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002828/0.3911, allocations: 1.853 MB / 495.5 MB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.4095, allocations: 8.363 MB / 0.4921 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05363/0.4631, allocations: 39.18 MB / 0.5303 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.4739, allocations: 3.443 MB / 0.5337 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2478/0.7217, allocations: 1.337 MB / 0.535 GB, free: 100.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/0.7327, allocations: 5.815 MB / 0.5407 GB, free: 98.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.7327, allocations: 60.75 kB / 0.5407 GB, free: 98.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.707e-06/0.7327, allocations: 0 / 0.5407 GB, free: 98.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02746/0.7602, allocations: 12.33 MB / 0.5528 GB, free: 94.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001076/0.7613, allocations: 1.575 MB / 0.5543 GB, free: 92.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005074/0.7663, allocations: 3.815 MB / 0.558 GB, free: 90.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.7665, allocations: 49.7 kB / 0.5581 GB, free: 90.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.7677, allocations: 3.241 MB / 0.5613 GB, free: 87.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/0.7681, allocations: 0.6732 MB / 0.5619 GB, free: 86.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/0.7697, allocations: 1.262 MB / 0.5631 GB, free: 85.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.7697, allocations: 309.1 kB / 0.5634 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.7719, allocations: 2.019 MB / 0.5654 GB, free: 82.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004101/0.776, allocations: 5.953 MB / 0.5712 GB, free: 74.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006718/0.7827, allocations: 8.603 MB / 0.5796 GB, free: 64.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.315e-05/0.7828, allocations: 40 kB / 0.5797 GB, free: 64.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01275/0.7955, allocations: 8.821 MB / 0.5883 GB, free: 55.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.7956, allocations: 65 kB / 0.5883 GB, free: 55.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005114/0.8007, allocations: 2.82 MB / 0.5911 GB, free: 52.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/0.8053, allocations: 1.554 MB / 0.5926 GB, free: 51.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.8088, allocations: 1.368 MB / 0.594 GB, free: 49.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.8192, allocations: 9.345 MB / 0.6031 GB, free: 39.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004958/0.8241, allocations: 395.5 kB / 0.6035 GB, free: 39.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008187/0.8249, allocations: 392 kB / 0.6038 GB, free: 39.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.003123/0.8281, allocations: 2.009 MB / 0.6058 GB, free: 37.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005217/0.8286, allocations: 349.6 kB / 0.6061 GB, free: 36.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.8292, allocations: 432.5 kB / 0.6065 GB, free: 36.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005162/0.8344, allocations: 2.714 MB / 0.6092 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.8344, allocations: 0 / 0.6092 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.8344, allocations: 11.97 kB / 0.6092 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.8481, allocations: 8.444 MB / 0.6174 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.8481, allocations: 0 / 0.6174 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/0.8489, allocations: 187.7 kB / 0.6176 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004064/0.8529, allocations: 1.455 MB / 0.619 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.853, allocations: 35.98 kB / 0.6191 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.8634, allocations: 9.52 MB / 0.6284 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006382/0.864, allocations: 1.436 MB / 0.6298 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007892/0.8719, allocations: 5.365 MB / 0.635 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.8731, allocations: 305.5 kB / 0.6353 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/0.8735, allocations: 35.98 kB / 0.6353 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.8747, allocations: 123.8 kB / 0.6355 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.875, allocations: 112.8 kB / 0.6356 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/0.8751, allocations: 43.98 kB / 0.6356 GB, free: 6.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003149/0.8783, allocations: 2.341 MB / 0.6379 GB, free: 3.715 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8783, allocations: 4.578 kB / 0.6379 GB, free: 3.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005087/0.8834, allocations: 1.05 MB / 0.6389 GB, free: 2.664 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009373/0.8927, allocations: 6.011 MB / 0.6448 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01091/0.9036, allocations: 5.381 MB / 0.6501 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.9037, allocations: 0 / 0.6501 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004561/0.9082, allocations: 2.098 MB / 0.6521 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.911, allocations: 396.4 kB / 0.6525 GB, free: 4.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08103/0.9921, allocations: 45.55 MB / 0.697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004328/0.9964, allocations: 3.132 MB / 0.7 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004403/1.001, allocations: 1.803 MB / 0.7018 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002629/1.003, allocations: 1.768 MB / 0.7035 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of SimCode: time 1.493e-06/1.003, allocations: 0 / 0.7035 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4133/1.417, allocations: 75.64 MB / 0.7774 GB, free: 180.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.76/25.17, allocations: 9.578 kB / 0.7774 GB, free: 180.3 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: 28.749925481854007]