Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001835/0.001835, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002506/0.002506, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.643/1.643, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1304, allocations: 53.33 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.2957/0.4261, allocations: 12.01 MB / 438.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.4367, allocations: 4.231 MB / 442.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.4381, allocations: 69.62 kB / 443 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006164/0.4443, allocations: 2.779 MB / 445.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.4518, allocations: 1.985 MB / 447.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.4546, allocations: 0.8083 MB / 448.6 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.4655, allocations: 4.689 MB / 453.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00415/0.4696, allocations: 3.052 MB / 456.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.4734, allocations: 1.679 MB / 458 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005835/0.4792, allocations: 2.521 MB / 460.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.4805, allocations: 352.3 kB / 460.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.4845, allocations: 1.297 MB / 462.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003545/0.488, allocations: 2.148 MB / 464.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004618/0.4927, allocations: 2.419 MB / 466.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.5037, allocations: 7.506 MB / 474.2 MB, free: 1.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.5037, allocations: 0 / 474.2 MB, free: 1.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.5037, allocations: 4 kB / 474.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007593/0.5045, allocations: 0 / 474.2 MB, free: 1.426 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01457/0.519, allocations: 5.394 MB / 479.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5191, allocations: 8.031 kB / 479.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001414/0.5205, allocations: 0.8021 MB / 480.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009084/0.5296, allocations: 2.217 MB / 482.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008555/0.5381, allocations: 2.944 MB / 485.6 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.5384, allocations: 274.8 kB / 485.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.54, allocations: 427.6 kB / 486.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0263/0.5663, allocations: 12.27 MB / 498.5 MB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.5664, allocations: 55.58 kB / 498.6 MB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/0.5674, allocations: 167.8 kB / 498.8 MB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003864/0.5713, allocations: 2.166 MB / 0.4892 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/0.5953, allocations: 10.25 MB / 0.4992 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07143/0.6668, allocations: 44.16 MB / 0.5423 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.6803, allocations: 4.517 MB / 0.5467 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/0.6835, allocations: 1.634 MB / 0.5483 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01753/0.701, allocations: 8.277 MB / 0.5564 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.7011, allocations: 51.88 kB / 0.5565 GB, free: 15.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=183): time 3.828e-06/0.7011, allocations: 0 / 0.5565 GB, free: 15.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=205): time 0.04791/0.749, allocations: 16.32 MB / 0.5724 GB, free: 14.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002165/0.7511, allocations: 1.695 MB / 0.5741 GB, free: 12.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/0.7624, allocations: 4.212 MB / 0.5782 GB, free: 8.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007425/0.7631, allocations: 57.69 kB / 0.5782 GB, free: 8.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003944/0.7671, allocations: 3.54 MB / 0.5817 GB, free: 4.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001208/0.7683, allocations: 0.8373 MB / 0.5825 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/0.7708, allocations: 1.354 MB / 0.5838 GB, free: 2.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7709, allocations: 309.1 kB / 0.5841 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/0.7746, allocations: 2.246 MB / 0.5863 GB, free: 60 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008452/0.783, allocations: 6.37 MB / 0.5925 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/0.796, allocations: 9.286 MB / 0.6016 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.586e-05/0.7961, allocations: 40 kB / 0.6016 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02077/0.8169, allocations: 9.138 MB / 0.6106 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.817, allocations: 68.09 kB / 0.6106 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00655/0.8236, allocations: 2.863 MB / 0.6134 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3167/1.14, allocations: 1.066 MB / 0.6145 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006056/1.146, allocations: 1.581 MB / 0.616 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/1.152, allocations: 4.68 MB / 0.6206 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/1.159, allocations: 431.7 kB / 0.621 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002073/1.161, allocations: 415.8 kB / 0.6214 GB, free: 144.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (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],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (848): * Single equations (assignments): 839 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006097/1.167, allocations: 2.211 MB / 0.6235 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.168, allocations: 390.8 kB / 0.6239 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007783/1.176, allocations: 3.308 MB / 0.6271 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006026/1.182, allocations: 2.771 MB / 0.6299 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.182, allocations: 7.031 kB / 0.6299 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/1.182, allocations: 13.75 kB / 0.6299 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.204, allocations: 10.36 MB / 0.64 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/1.204, allocations: 15.78 kB / 0.64 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.206, allocations: 375.2 kB / 0.6404 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.209, allocations: 0.9885 MB / 0.6413 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.209, allocations: 65.83 kB / 0.6414 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003772/1.212, allocations: 4.908 MB / 0.6462 GB, free: 136.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001143/1.214, allocations: 1.558 MB / 0.6477 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009028/1.223, allocations: 5.981 MB / 0.6535 GB, free: 132.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.224, allocations: 455.7 kB / 0.654 GB, free: 132.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.225, allocations: 67 kB / 0.654 GB, free: 132.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/1.227, allocations: 151.2 kB / 0.6542 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/1.227, allocations: 174.8 kB / 0.6543 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.227, allocations: 81.28 kB / 0.6544 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004189/1.231, allocations: 2.591 MB / 0.657 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.231, allocations: 1.641 kB / 0.657 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006933/1.238, allocations: 1.117 MB / 0.658 GB, free: 130.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007891/1.246, allocations: 6.67 MB / 0.6646 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.257, allocations: 5.739 MB / 0.6702 GB, free: 118.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.257, allocations: 4 kB / 0.6702 GB, free: 118.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003752/1.26, allocations: 2.13 MB / 0.6723 GB, free: 116.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005072/1.265, allocations: 0.4953 MB / 0.6727 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08339/1.349, allocations: 50.7 MB / 0.7223 GB, free: 58.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006571/1.355, allocations: 3.459 MB / 0.7256 GB, free: 55.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005133/1.361, allocations: 2.014 MB / 0.7276 GB, free: 53.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003494/1.364, allocations: 2.096 MB / 0.7296 GB, free: 50.96 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/1.364, allocations: 0 / 0.7296 GB, free: 50.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8639/2.228, allocations: 73.54 MB / 0.8015 GB, free: 9.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.68/60.91, allocations: 8 kB / 0.8015 GB, free: 9.859 MB / 0.545 GB " [Timeout remaining time 599] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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: 65.03519327426329]