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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001288, allocations: 106.8 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.81 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0756/0.07672, allocations: 50.54 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.1874/0.2641, allocations: 46.64 MB / 403.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0219/0.2861, allocations: 9.762 MB / 413.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009393/0.2955, allocations: 199.1 kB / 413.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005675/0.3012, allocations: 2.634 MB / 416.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.3068, allocations: 1.803 MB / 418.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.3088, allocations: 0.7607 MB / 418.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006167/0.315, allocations: 4.701 MB / 423.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004804/0.3198, allocations: 3.744 MB / 427.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.3222, allocations: 1.705 MB / 429 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.3254, allocations: 2.574 MB / 431.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009926/0.3264, allocations: 352 kB / 432 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.3291, allocations: 1.268 MB / 433.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002452/0.3316, allocations: 2.116 MB / 435.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00335/0.3349, allocations: 2.447 MB / 437.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007554/0.3425, allocations: 7.266 MB / 445.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3425, allocations: 0 / 445.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3425, allocations: 0 / 445.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002436/0.3428, allocations: 4 kB / 445.1 MB, free: 3.363 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01115/0.3539, allocations: 5.258 MB / 450.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.354, allocations: 8.031 kB / 450.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001664/0.3557, allocations: 0.7982 MB / 451.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008612/0.3643, allocations: 2.19 MB / 453.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005749/0.3701, allocations: 2.891 MB / 456.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/0.3703, allocations: 266.9 kB / 456.5 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/0.3718, allocations: 435.6 kB / 456.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/0.395, allocations: 12.26 MB / 469.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.3952, allocations: 51.52 kB / 469.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009273/0.3961, allocations: 175.8 kB / 469.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003098/0.3992, allocations: 2.166 MB / 471.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02192/0.4211, allocations: 10.24 MB / 481.8 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05273/0.4739, allocations: 44.27 MB / 0.5137 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.4852, allocations: 4.653 MB / 0.5183 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.4877, allocations: 1.72 MB / 0.5199 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.4994, allocations: 8.276 MB / 0.528 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.4995, allocations: 51.81 kB / 0.5281 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 3.828e-06/0.4995, allocations: 3.938 kB / 0.5281 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.2411/0.7406, allocations: 16.07 MB / 0.5438 GB, free: 105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008545/0.7415, allocations: 1.693 MB / 0.5454 GB, free: 103.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/0.7462, allocations: 4.199 MB / 0.5495 GB, free: 102.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003175/0.7465, allocations: 57.38 kB / 0.5496 GB, free: 102.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.7479, allocations: 3.403 MB / 0.5529 GB, free: 100.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.7486, allocations: 0.8031 MB / 0.5537 GB, free: 100.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.7498, allocations: 1.349 MB / 0.555 GB, free: 99.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.7499, allocations: 305.1 kB / 0.5553 GB, free: 99.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.7525, allocations: 2.239 MB / 0.5575 GB, free: 98.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.7561, allocations: 6.372 MB / 0.5637 GB, free: 92.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006968/0.7631, allocations: 9.296 MB / 0.5728 GB, free: 82.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.761e-05/0.7632, allocations: 44 kB / 0.5728 GB, free: 82.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01394/0.7772, allocations: 9.111 MB / 0.5817 GB, free: 73.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/0.7773, allocations: 67.98 kB / 0.5818 GB, free: 73.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004886/0.7822, allocations: 2.87 MB / 0.5846 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/0.7852, allocations: 1.081 MB / 0.5856 GB, free: 69.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00447/0.7897, allocations: 1.578 MB / 0.5872 GB, free: 68.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/0.7935, allocations: 4.684 MB / 0.5918 GB, free: 63.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005652/0.7992, allocations: 431.3 kB / 0.5922 GB, free: 63.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009111/0.8001, allocations: 421.6 kB / 0.5926 GB, free: 62.64 MB / 446.1 MB 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.003565/0.8037, allocations: 2.212 MB / 0.5947 GB, free: 60.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009007/0.8046, allocations: 371.7 kB / 0.5951 GB, free: 60.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006198/0.8108, allocations: 3.316 MB / 0.5983 GB, free: 56.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004677/0.8155, allocations: 2.776 MB / 0.601 GB, free: 54.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.8155, allocations: 4 kB / 0.601 GB, free: 54.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.8156, allocations: 10.17 kB / 0.601 GB, free: 54.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/0.8329, allocations: 10.38 MB / 0.6112 GB, free: 43.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/0.833, allocations: 12.22 kB / 0.6112 GB, free: 43.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.8345, allocations: 383.2 kB / 0.6116 GB, free: 43.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/0.8372, allocations: 0.9884 MB / 0.6125 GB, free: 42.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.8374, allocations: 63.92 kB / 0.6126 GB, free: 42.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.8411, allocations: 4.906 MB / 0.6174 GB, free: 36.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006551/0.8418, allocations: 1.563 MB / 0.6189 GB, free: 35.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007484/0.8493, allocations: 5.969 MB / 0.6247 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/0.8503, allocations: 436 kB / 0.6252 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007175/0.851, allocations: 59.92 kB / 0.6252 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.853, allocations: 151.8 kB / 0.6254 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/0.8533, allocations: 175.8 kB / 0.6255 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.8534, allocations: 78.83 kB / 0.6256 GB, free: 28.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003566/0.857, allocations: 2.595 MB / 0.6281 GB, free: 25.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.857, allocations: 0 / 0.6281 GB, free: 25.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005235/0.8623, allocations: 1.12 MB / 0.6292 GB, free: 24.53 MB / 446.1 MB 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.008322/0.8706, allocations: 6.659 MB / 0.6357 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009897/0.8805, allocations: 6.595 MB / 0.6422 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.8806, allocations: 0 / 0.6422 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003503/0.8841, allocations: 2.213 MB / 0.6443 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.8875, allocations: 0.5103 MB / 0.6448 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09001/0.9775, allocations: 59.23 MB / 0.7027 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/0.9819, allocations: 3.45 MB / 0.706 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.1531/1.135, allocations: 2.011 MB / 0.708 GB, free: 195.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002677/1.138, allocations: 2.097 MB / 0.7101 GB, free: 195.5 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/1.138, allocations: 0 / 0.7101 GB, free: 195.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.251/5.389, allocations: 77.07 MB / 0.7853 GB, free: 141 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/5.389, allocations: 255.4 kB / 0.7856 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.559/9.948, allocations: 6.234 kB / 0.7856 GB, free: 140.8 MB / 0.4981 GB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches