Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001478/0.001478, allocations: 103.2 kB / 21.96 MB, free: 5.219 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.001546/0.001546, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpringWithMass,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 55.91 kB / 348 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2403, allocations: 49.15 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.006318/0.2466, allocations: 6.561 MB / 403.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005408/0.252, allocations: 3.056 MB / 406.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.2532, allocations: 41.25 kB / 406.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.2552, allocations: 1.02 MB / 407.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.2584, allocations: 1.401 MB / 409.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.2594, allocations: 450.2 kB / 409.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003376/0.2628, allocations: 2.644 MB / 412.3 MB, free: 164 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.2644, allocations: 1.337 MB / 413.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.2657, allocations: 0.8654 MB / 414.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.2674, allocations: 1.335 MB / 415.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.2677, allocations: 169.9 kB / 416 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.2695, allocations: 0.948 MB / 417 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.2706, allocations: 1.137 MB / 418.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.2717, allocations: 0.9586 MB / 419.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00533/0.277, allocations: 4.4 MB / 423.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.277, allocations: 0 / 423.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.277, allocations: 0 / 423.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001272/0.2772, allocations: 0 / 423.5 MB, free: 8.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.006634/0.2838, allocations: 3.091 MB / 426.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.2838, allocations: 11.98 kB / 426.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.559e-05/0.2839, allocations: 63.58 kB / 426.6 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006214/0.2846, allocations: 466.9 kB / 427.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/0.291, allocations: 1.769 MB / 428.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.2945, allocations: 1.801 MB / 430.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.2946, allocations: 139.2 kB / 430.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006509/0.2953, allocations: 263.6 kB / 431 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.306, allocations: 6.681 MB / 437.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.05e-05/0.306, allocations: 27.8 kB / 437.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/0.3063, allocations: 91.89 kB / 437.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.3084, allocations: 1.363 MB / 439.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.3197, allocations: 6.025 MB / 445.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.3514, allocations: 24.57 MB / 469.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.3579, allocations: 2.138 MB / 471.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.3594, allocations: 0.9925 MB / 472.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005435/0.3648, allocations: 2.727 MB / 475.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.63e-05/0.3649, allocations: 51 kB / 475.7 MB, free: 3.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 3.697e-06/0.3649, allocations: 0 / 475.7 MB, free: 3.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02607/0.391, allocations: 10.17 MB / 485.9 MB, free: 8.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00135/0.3923, allocations: 1.572 MB / 487.4 MB, free: 7.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/0.3962, allocations: 2.766 MB / 490.2 MB, free: 4.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.3964, allocations: 45.69 kB / 490.2 MB, free: 4.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.3981, allocations: 2.171 MB / 492.4 MB, free: 2.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000678/0.3987, allocations: 0.5273 MB / 492.9 MB, free: 1.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.4, allocations: 0.921 MB / 493.9 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4002, allocations: 305.1 kB / 494.2 MB, free: 304 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/0.4027, allocations: 1.625 MB / 495.8 MB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004508/0.4072, allocations: 4.421 MB / 0.4885 GB, free: 8.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008045/0.4153, allocations: 6.491 MB / 0.4948 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.913e-05/0.4154, allocations: 32 kB / 0.4949 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01397/0.4293, allocations: 7.032 MB / 0.5017 GB, free: 9.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.4294, allocations: 48 kB / 0.5018 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005856/0.4353, allocations: 2.525 MB / 0.5042 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004927/0.4402, allocations: 1.501 MB / 0.5057 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.4433, allocations: 1.002 MB / 0.5067 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.4538, allocations: 7.509 MB / 0.514 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.4571, allocations: 323.7 kB / 0.5143 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005323/0.4576, allocations: 276 kB / 0.5146 GB, free: 12.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (543): * Single equations (assignments): 535 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002315/0.4599, allocations: 1.434 MB / 0.516 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/0.4604, allocations: 246.4 kB / 0.5162 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006491/0.4669, allocations: 2.827 MB / 0.519 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005935/0.4728, allocations: 2.497 MB / 0.5214 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.4728, allocations: 8 kB / 0.5214 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.4728, allocations: 7.969 kB / 0.5214 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.4865, allocations: 6.526 MB / 0.5278 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.4865, allocations: 0 / 0.5278 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/0.4873, allocations: 179.7 kB / 0.528 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004779/0.4921, allocations: 1.43 MB / 0.5294 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.4922, allocations: 35.97 kB / 0.5294 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.503, allocations: 7.677 MB / 0.5369 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001182/0.5042, allocations: 1.434 MB / 0.5383 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008987/0.5132, allocations: 4.847 MB / 0.543 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/0.5139, allocations: 226.3 kB / 0.5433 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/0.5141, allocations: 31.98 kB / 0.5433 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.5152, allocations: 107.8 kB / 0.5434 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.5155, allocations: 84.23 kB / 0.5435 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.5156, allocations: 39.92 kB / 0.5435 GB, free: 14.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002581/0.5182, allocations: 1.705 MB / 0.5452 GB, free: 12.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5182, allocations: 0 / 0.5452 GB, free: 12.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00344/0.5216, allocations: 0.7733 MB / 0.5459 GB, free: 11.76 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009309/0.5309, allocations: 5.481 MB / 0.5513 GB, free: 6.227 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007633/0.5385, allocations: 4.13 MB / 0.5553 GB, free: 2.086 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5385, allocations: 0 / 0.5553 GB, free: 2.086 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.5417, allocations: 1.584 MB / 0.5569 GB, free: 484 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.5434, allocations: 266 kB / 0.5571 GB, free: 216 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2048/0.7482, allocations: 33.86 MB / 0.5902 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.7498, allocations: 1.733 MB / 0.5919 GB, free: 128.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002312/0.7521, allocations: 1.406 MB / 0.5933 GB, free: 127.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009968/0.7531, allocations: 1.12 MB / 0.5943 GB, free: 126.1 MB / 478.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7531, allocations: 0 / 0.5943 GB, free: 126.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07937/0.8325, allocations: 50.99 MB / 0.6441 GB, free: 75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.38/19.21, allocations: 15.88 kB / 0.6442 GB, free: 74.99 MB / 478.1 MB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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: 22.131916268961504]