Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001399/0.001399, allocations: 114 kB / 20.43 MB, free: 1.457 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.001787/0.001787, allocations: 214 kB / 23.74 MB, free: 4.672 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.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2796, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01936/0.299, allocations: 10.78 MB / 442 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3115, allocations: 3.994 MB / 446 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.3139, allocations: 75.62 kB / 446 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008108/0.322, allocations: 2.605 MB / 448.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006889/0.3289, allocations: 1.789 MB / 450.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.3309, allocations: 0.6824 MB / 451.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006506/0.3374, allocations: 3.713 MB / 454.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004469/0.3419, allocations: 2.726 MB / 457.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.345, allocations: 1.495 MB / 459.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004035/0.349, allocations: 2.11 MB / 461.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.3504, allocations: 319.9 kB / 461.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.3549, allocations: 1.182 MB / 462.7 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003831/0.3587, allocations: 1.854 MB / 464.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005227/0.3639, allocations: 2.124 MB / 466.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.3773, allocations: 6.676 MB / 473.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3773, allocations: 0 / 473.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3773, allocations: 4 kB / 473.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002392/0.3776, allocations: 0 / 473.3 MB, free: 12.35 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.01535/0.3929, allocations: 4.603 MB / 477.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.314e-05/0.393, allocations: 12.02 kB / 477.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002161/0.3952, allocations: 0.7158 MB / 478.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.407, allocations: 1.971 MB / 480.6 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007031/0.414, allocations: 2.164 MB / 482.8 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.4143, allocations: 242.2 kB / 483 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.4158, allocations: 403.6 kB / 483.4 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02217/0.438, allocations: 10.11 MB / 493.5 MB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/0.4381, allocations: 35.69 kB / 493.6 MB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.4392, allocations: 159.9 kB / 493.7 MB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003174/0.4424, allocations: 1.853 MB / 495.6 MB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.4612, allocations: 8.37 MB / 0.4921 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05705/0.5183, allocations: 39.16 MB / 0.5304 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.5289, allocations: 3.459 MB / 0.5338 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2371/0.766, allocations: 1.336 MB / 0.5351 GB, free: 99.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.7761, allocations: 5.819 MB / 0.5407 GB, free: 98.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.7761, allocations: 54.81 kB / 0.5408 GB, free: 98.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.048e-06/0.7761, allocations: 1.375 kB / 0.5408 GB, free: 98.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.0267/0.8028, allocations: 12.32 MB / 0.5528 GB, free: 94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009051/0.8037, allocations: 1.575 MB / 0.5544 GB, free: 92.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003959/0.8077, allocations: 3.825 MB / 0.5581 GB, free: 89.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.8079, allocations: 49.53 kB / 0.5581 GB, free: 89.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.809, allocations: 3.236 MB / 0.5613 GB, free: 86.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.8095, allocations: 0.6764 MB / 0.562 GB, free: 85.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.8106, allocations: 1.254 MB / 0.5632 GB, free: 84.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.8106, allocations: 309 kB / 0.5635 GB, free: 84.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.8129, allocations: 2.019 MB / 0.5655 GB, free: 82.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/0.8163, allocations: 5.965 MB / 0.5713 GB, free: 74.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006332/0.8226, allocations: 8.593 MB / 0.5797 GB, free: 63.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.04e-05/0.8227, allocations: 40 kB / 0.5797 GB, free: 63.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01302/0.8357, allocations: 8.819 MB / 0.5883 GB, free: 54.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.8358, allocations: 64 kB / 0.5884 GB, free: 54.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005024/0.8408, allocations: 2.817 MB / 0.5911 GB, free: 52.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/0.8451, allocations: 1.561 MB / 0.5927 GB, free: 50.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/0.8486, allocations: 1.365 MB / 0.594 GB, free: 49.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009929/0.8585, allocations: 9.338 MB / 0.6031 GB, free: 39.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/0.863, allocations: 395.6 kB / 0.6035 GB, free: 39.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009096/0.8639, allocations: 395.4 kB / 0.6039 GB, free: 38.66 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.002937/0.8668, allocations: 2.013 MB / 0.6058 GB, free: 36.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/0.8674, allocations: 349.6 kB / 0.6062 GB, free: 36.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007215/0.8681, allocations: 432.5 kB / 0.6066 GB, free: 35.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005007/0.8731, allocations: 2.718 MB / 0.6092 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.8731, allocations: 4 kB / 0.6092 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.8731, allocations: 3.984 kB / 0.6092 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.8859, allocations: 8.439 MB / 0.6175 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.8859, allocations: 4 kB / 0.6175 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.8867, allocations: 187.7 kB / 0.6177 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003896/0.8906, allocations: 1.455 MB / 0.6191 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.8907, allocations: 39.97 kB / 0.6191 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009874/0.9006, allocations: 9.513 MB / 0.6284 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000635/0.9012, allocations: 1.444 MB / 0.6298 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007884/0.9091, allocations: 5.354 MB / 0.6351 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/0.9099, allocations: 313.5 kB / 0.6354 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/0.9102, allocations: 40.05 kB / 0.6354 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.9114, allocations: 123.8 kB / 0.6355 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.9117, allocations: 116.7 kB / 0.6356 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/0.9118, allocations: 47.97 kB / 0.6357 GB, free: 5.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00272/0.9146, allocations: 2.337 MB / 0.6379 GB, free: 3.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9146, allocations: 0 / 0.6379 GB, free: 3.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004421/0.919, allocations: 1.051 MB / 0.639 GB, free: 2.094 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.009636/0.9286, allocations: 6.015 MB / 0.6448 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0108/0.9394, allocations: 5.385 MB / 0.6501 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.9394, allocations: 0 / 0.6501 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004469/0.9439, allocations: 2.09 MB / 0.6521 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.9461, allocations: 394 kB / 0.6525 GB, free: 4.121 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08532/1.031, allocations: 45.54 MB / 0.697 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00393/1.035, allocations: 3.137 MB / 0.7001 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0042/1.04, allocations: 1.796 MB / 0.7018 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002724/1.042, allocations: 1.768 MB / 0.7035 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of SimCode: time 9.41e-07/1.042, allocations: 0 / 0.7035 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3834/1.426, allocations: 75.64 MB / 0.7774 GB, free: 179.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.08/24.5, allocations: 0 / 0.7774 GB, free: 179.9 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 27.822408919921145]