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.001481/0.001481, 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.001915/0.001915, allocations: 214.9 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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.001835/0.001835, allocations: 63.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2519, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01498/0.2669, allocations: 12.05 MB / 443.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008701/0.2756, allocations: 4.254 MB / 447.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.2772, allocations: 83.56 kB / 447.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005416/0.2826, allocations: 2.799 MB / 450.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.2875, allocations: 1.992 MB / 452.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.2894, allocations: 0.8033 MB / 453.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00696/0.2964, allocations: 4.694 MB / 457.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004397/0.3008, allocations: 2.941 MB / 460.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.3037, allocations: 1.709 MB / 462.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004219/0.3079, allocations: 2.519 MB / 465 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.3091, allocations: 356 kB / 465.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.3122, allocations: 1.299 MB / 466.7 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002954/0.3152, allocations: 2.15 MB / 468.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003644/0.3188, allocations: 2.415 MB / 471.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.3277, allocations: 7.51 MB / 478.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3277, allocations: 0 / 478.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3277, allocations: 0 / 478.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001303/0.3278, allocations: 0 / 478.8 MB, free: 6.895 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.009507/0.3373, allocations: 5.327 MB / 484.1 MB, free: 1.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3374, allocations: 12.03 kB / 484.1 MB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009118/0.3383, allocations: 0.7943 MB / 484.9 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007606/0.3459, allocations: 2.221 MB / 487.1 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006076/0.3519, allocations: 2.874 MB / 490 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.3522, allocations: 274.9 kB / 490.3 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009885/0.3532, allocations: 431.6 kB / 490.7 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/0.3764, allocations: 12.26 MB / 0.4912 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.3765, allocations: 51.56 kB / 0.4912 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005163/0.377, allocations: 175.8 kB / 0.4914 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003424/0.3804, allocations: 2.166 MB / 0.4935 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02319/0.4036, allocations: 10.24 MB / 0.5035 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2753/0.6789, allocations: 44.01 MB / 0.5465 GB, free: 69.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009701/0.6886, allocations: 3.831 MB / 0.5502 GB, free: 69.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.6905, allocations: 1.633 MB / 0.5518 GB, free: 69.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.7007, allocations: 6.856 MB / 0.5585 GB, free: 66.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.7007, allocations: 54.16 kB / 0.5585 GB, free: 66.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 5.06e-06/0.7007, allocations: 0 / 0.5585 GB, free: 66.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.0338/0.7345, allocations: 16.02 MB / 0.5742 GB, free: 55.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001005/0.7355, allocations: 1.591 MB / 0.5757 GB, free: 54.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.7398, allocations: 4.205 MB / 0.5799 GB, free: 49.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.74, allocations: 53.7 kB / 0.5799 GB, free: 49.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.7413, allocations: 3.545 MB / 0.5834 GB, free: 46.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005378/0.7418, allocations: 0.8325 MB / 0.5842 GB, free: 45.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.7431, allocations: 1.368 MB / 0.5855 GB, free: 44.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.194e-05/0.7431, allocations: 305.1 kB / 0.5858 GB, free: 44.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.7457, allocations: 2.243 MB / 0.588 GB, free: 41.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/0.7496, allocations: 6.377 MB / 0.5942 GB, free: 33.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007348/0.7569, allocations: 9.292 MB / 0.6033 GB, free: 22.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.339e-05/0.757, allocations: 40 kB / 0.6033 GB, free: 22.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01531/0.7723, allocations: 9.126 MB / 0.6123 GB, free: 13.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.7724, allocations: 68 kB / 0.6123 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004927/0.7773, allocations: 2.871 MB / 0.6151 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.7802, allocations: 1.078 MB / 0.6162 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004978/0.7852, allocations: 1.575 MB / 0.6177 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.789, allocations: 4.477 MB / 0.6221 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005627/0.7946, allocations: 427.6 kB / 0.6225 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/0.7957, allocations: 416 kB / 0.6229 GB, free: 1.953 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.003987/0.7997, allocations: 2.212 MB / 0.625 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009285/0.8006, allocations: 401.3 kB / 0.6254 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007085/0.8077, allocations: 3.307 MB / 0.6287 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005538/0.8132, allocations: 2.773 MB / 0.6314 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.8132, allocations: 7.984 kB / 0.6314 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.8133, allocations: 7.969 kB / 0.6314 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/0.8341, allocations: 10.18 MB / 0.6413 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/0.8341, allocations: 16 kB / 0.6413 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.8356, allocations: 383.5 kB / 0.6417 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/0.8385, allocations: 0.9786 MB / 0.6427 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.8387, allocations: 63.97 kB / 0.6427 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/0.8442, allocations: 4.708 MB / 0.6473 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001264/0.8454, allocations: 1.458 MB / 0.6487 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/0.8551, allocations: 5.974 MB / 0.6546 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.8563, allocations: 385.3 kB / 0.6549 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/0.8568, allocations: 60.53 kB / 0.655 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.8584, allocations: 151.8 kB / 0.6551 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.8588, allocations: 188.5 kB / 0.6553 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.8589, allocations: 75.19 kB / 0.6554 GB, free: 15.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004422/0.8633, allocations: 2.594 MB / 0.6579 GB, free: 13.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8633, allocations: 0 / 0.6579 GB, free: 13.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005342/0.8687, allocations: 1.113 MB / 0.659 GB, free: 12.06 MB / 494.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.01022/0.8789, allocations: 6.674 MB / 0.6655 GB, free: 5.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0107/0.8896, allocations: 5.583 MB / 0.671 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.8896, allocations: 4 kB / 0.671 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004013/0.8936, allocations: 1.975 MB / 0.6729 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/0.8966, allocations: 0.4954 MB / 0.6734 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07731/0.9739, allocations: 50.82 MB / 0.723 GB, free: 3.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004029/0.978, allocations: 3.45 MB / 0.7264 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004455/0.9824, allocations: 2.014 MB / 0.7284 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00264/0.9851, allocations: 2.096 MB / 0.7304 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/0.9851, allocations: 0 / 0.7304 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4028/1.388, allocations: 79.05 MB / 0.8076 GB, free: 162 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.86/61.24, allocations: 11.69 kB / 0.8076 GB, free: 162 MB / 0.5606 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 64.64630414010026]