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.001351/0.001351, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001492/0.001492, allocations: 212 kB / 24.47 MB, free: 3.547 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.395/1.395, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",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.0018/0.0018, allocations: 56.34 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3402, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008174/0.3484, allocations: 6.611 MB / 403 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.3546, allocations: 3.064 MB / 406 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/0.3555, allocations: 40.59 kB / 406.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.3577, allocations: 1.021 MB / 407.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.3613, allocations: 1.401 MB / 408.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3626, allocations: 454.5 kB / 408.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004104/0.3667, allocations: 2.646 MB / 411.6 MB, free: 148 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.369, allocations: 1.326 MB / 412.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.3713, allocations: 0.8614 MB / 413.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.3738, allocations: 1.284 MB / 415 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005105/0.3743, allocations: 174.2 kB / 415.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.3768, allocations: 0.9324 MB / 416.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.3783, allocations: 1.141 MB / 417.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.38, allocations: 0.9584 MB / 418.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007054/0.3871, allocations: 4.404 MB / 422.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3871, allocations: 0 / 422.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3871, allocations: 0 / 422.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.00012/0.3872, allocations: 4 kB / 422.7 MB, free: 8.75 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.007388/0.3946, allocations: 3.08 MB / 425.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.3946, allocations: 11.98 kB / 425.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006084/0.3953, allocations: 474.9 kB / 426.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006508/0.4018, allocations: 1.762 MB / 428 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/0.406, allocations: 1.805 MB / 429.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.4061, allocations: 131.3 kB / 429.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000681/0.4068, allocations: 259.7 kB / 430.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.4191, allocations: 6.685 MB / 436.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/0.4191, allocations: 31.8 kB / 436.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.4194, allocations: 87.89 kB / 437 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002336/0.4217, allocations: 1.363 MB / 438.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.4338, allocations: 6.017 MB / 444.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03501/0.4688, allocations: 24.57 MB / 468.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/0.4761, allocations: 2.134 MB / 471 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.4778, allocations: 0.9925 MB / 472 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006295/0.4841, allocations: 2.719 MB / 474.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.618e-05/0.4842, allocations: 54.94 kB / 474.8 MB, free: 3.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 4.378e-06/0.4842, allocations: 0 / 474.8 MB, free: 3.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02794/0.5121, allocations: 10.17 MB / 485 MB, free: 8.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001593/0.5137, allocations: 1.575 MB / 486.6 MB, free: 7.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/0.5181, allocations: 2.921 MB / 489.5 MB, free: 4.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002615/0.5184, allocations: 49.69 kB / 489.5 MB, free: 4.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.5202, allocations: 2.175 MB / 491.7 MB, free: 2.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000758/0.521, allocations: 0.5312 MB / 492.2 MB, free: 1.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.5224, allocations: 0.9094 MB / 493.1 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5225, allocations: 317.1 kB / 493.5 MB, free: 240 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/0.5252, allocations: 1.617 MB / 495.1 MB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005159/0.5303, allocations: 4.425 MB / 499.5 MB, free: 8.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008826/0.5391, allocations: 6.491 MB / 0.4941 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.714e-05/0.5392, allocations: 28 kB / 0.4942 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01566/0.5549, allocations: 7.044 MB / 0.501 GB, free: 9.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/0.555, allocations: 44 kB / 0.5011 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006331/0.5613, allocations: 2.525 MB / 0.5035 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/0.5666, allocations: 1.489 MB / 0.505 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/0.5703, allocations: 1.006 MB / 0.506 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.5822, allocations: 7.501 MB / 0.5133 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/0.5867, allocations: 323.7 kB / 0.5136 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/0.5878, allocations: 284.1 kB / 0.5139 GB, free: 12.39 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.003901/0.5917, allocations: 1.422 MB / 0.5153 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/0.5923, allocations: 254.4 kB / 0.5155 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/0.5997, allocations: 2.832 MB / 0.5183 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006658/0.6063, allocations: 2.497 MB / 0.5207 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.6064, allocations: 7.938 kB / 0.5207 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.6064, allocations: 3.984 kB / 0.5207 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.6221, allocations: 6.534 MB / 0.5271 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.6221, allocations: 3.938 kB / 0.5271 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.6229, allocations: 175.7 kB / 0.5273 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005058/0.628, allocations: 1.434 MB / 0.5287 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.6281, allocations: 31.97 kB / 0.5287 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.64, allocations: 7.666 MB / 0.5362 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001411/0.6414, allocations: 1.442 MB / 0.5376 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009962/0.6514, allocations: 4.847 MB / 0.5423 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008974/0.6523, allocations: 226.2 kB / 0.5426 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.6526, allocations: 27.98 kB / 0.5426 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.6538, allocations: 111.8 kB / 0.5427 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/0.654, allocations: 76.5 kB / 0.5428 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.6542, allocations: 47.84 kB / 0.5428 GB, free: 14.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003092/0.6572, allocations: 1.709 MB / 0.5445 GB, free: 12.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6572, allocations: 112 / 0.5445 GB, free: 12.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005339/0.6626, allocations: 0.7694 MB / 0.5452 GB, free: 11.71 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.01071/0.6733, allocations: 5.492 MB / 0.5506 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008613/0.6819, allocations: 4.114 MB / 0.5546 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.6819, allocations: 0 / 0.5546 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003451/0.6854, allocations: 1.576 MB / 0.5561 GB, free: 440 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.6873, allocations: 274.2 kB / 0.5564 GB, free: 164 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2656/0.9529, allocations: 33.87 MB / 0.5895 GB, free: 130.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/0.9547, allocations: 1.733 MB / 0.5912 GB, free: 128.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002643/0.9574, allocations: 1.406 MB / 0.5925 GB, free: 127.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.9585, allocations: 1.116 MB / 0.5936 GB, free: 125.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.452e-06/0.9585, allocations: 0 / 0.5936 GB, free: 125.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2186/1.177, allocations: 49.29 MB / 0.6418 GB, free: 76.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.62, allocations: 8.016 kB / 0.6418 GB, free: 76.54 MB / 478.1 MB " [Timeout remaining time 643] (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: 19.33620022283867]