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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.416/1.416, allocations: 207.6 MB / 231.8 MB, free: 4.023 MB / 174.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 55.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09428, allocations: 49.11 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008991/0.1033, allocations: 7.475 MB / 398.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006404/0.1097, allocations: 3.266 MB / 402.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008444/0.1105, allocations: 35.88 kB / 402.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.1127, allocations: 1.043 MB / 403.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.1158, allocations: 1.405 MB / 404.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.1168, allocations: 455.1 kB / 405 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003326/0.1201, allocations: 2.633 MB / 407.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.1217, allocations: 1.325 MB / 409 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.1229, allocations: 0.8446 MB / 409.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.1245, allocations: 1.343 MB / 411.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.1249, allocations: 168 kB / 411.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.1267, allocations: 1.057 MB / 412.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.1277, allocations: 1.137 MB / 413.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.1291, allocations: 1.316 MB / 414.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005118/0.1342, allocations: 4.396 MB / 419.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1342, allocations: 0 / 419.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1342, allocations: 0 / 419.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.267e-05/0.1343, allocations: 0 / 419.3 MB, free: 12.73 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.006254/0.1405, allocations: 3.147 MB / 422.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1406, allocations: 12.03 kB / 422.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005896/0.1412, allocations: 478.9 kB / 422.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006328/0.1475, allocations: 1.758 MB / 424.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/0.1517, allocations: 1.866 MB / 426.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.1518, allocations: 131.3 kB / 426.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007016/0.1525, allocations: 255.8 kB / 426.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.1633, allocations: 6.66 MB / 433.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.99e-05/0.1633, allocations: 31.75 kB / 433.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.1636, allocations: 91.89 kB / 433.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00206/0.1657, allocations: 1.363 MB / 435 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.1772, allocations: 6.029 MB / 441.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2338/0.411, allocations: 25.56 MB / 466.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006922/0.4179, allocations: 2.598 MB / 469.2 MB, free: 45.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.4195, allocations: 0.9951 MB / 470.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007623/0.4271, allocations: 3.853 MB / 474.1 MB, free: 43.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.4272, allocations: 51.17 kB / 474.1 MB, free: 43.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 4.258e-06/0.4272, allocations: 0 / 474.1 MB, free: 43.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02384/0.451, allocations: 10.46 MB / 484.6 MB, free: 40.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009831/0.452, allocations: 1.686 MB / 486.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/0.4549, allocations: 2.758 MB / 489 MB, free: 37.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.455, allocations: 41.39 kB / 489.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008552/0.4559, allocations: 2.181 MB / 491.2 MB, free: 35.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.4562, allocations: 0.532 MB / 491.8 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008139/0.457, allocations: 0.9168 MB / 492.7 MB, free: 34.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.899e-05/0.4571, allocations: 305.1 kB / 493 MB, free: 34.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.4588, allocations: 1.624 MB / 494.6 MB, free: 33.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.4613, allocations: 4.424 MB / 499 MB, free: 28.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004483/0.4658, allocations: 6.49 MB / 0.4937 GB, free: 20.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.09e-05/0.4659, allocations: 32 kB / 0.4937 GB, free: 20.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01035/0.4762, allocations: 7.027 MB / 0.5006 GB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.4763, allocations: 51.94 kB / 0.5006 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004822/0.4811, allocations: 2.521 MB / 0.5031 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004317/0.4854, allocations: 1.486 MB / 0.5045 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/0.488, allocations: 1.01 MB / 0.5055 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/0.4959, allocations: 7.789 MB / 0.5131 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/0.4996, allocations: 327.6 kB / 0.5134 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004373/0.5001, allocations: 276 kB / 0.5137 GB, free: 148 kB / 382.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.002374/0.5024, allocations: 1.434 MB / 0.5151 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005214/0.503, allocations: 242.4 kB / 0.5153 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006802/0.5098, allocations: 2.828 MB / 0.5181 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006056/0.5158, allocations: 2.501 MB / 0.5205 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.5158, allocations: 4 kB / 0.5205 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.5159, allocations: 7.984 kB / 0.5205 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/0.5321, allocations: 6.857 MB / 0.5272 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.5322, allocations: 4.031 kB / 0.5272 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.533, allocations: 179.7 kB / 0.5274 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004722/0.5377, allocations: 1.434 MB / 0.5288 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.5379, allocations: 27.98 kB / 0.5288 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/0.5495, allocations: 7.929 MB / 0.5366 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001354/0.5509, allocations: 1.538 MB / 0.5381 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009675/0.5606, allocations: 4.854 MB / 0.5428 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009192/0.5615, allocations: 311.1 kB / 0.5431 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/0.5619, allocations: 23.98 kB / 0.5431 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.563, allocations: 107.8 kB / 0.5433 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/0.5632, allocations: 89.06 kB / 0.5433 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5633, allocations: 44 kB / 0.5434 GB, free: 1.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00256/0.5659, allocations: 1.707 MB / 0.545 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5659, allocations: 0 / 0.545 GB, free: 15.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003488/0.5694, allocations: 0.7616 MB / 0.5458 GB, free: 14.7 MB / 430.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.009289/0.5787, allocations: 5.492 MB / 0.5512 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007905/0.5866, allocations: 4.201 MB / 0.5553 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.5866, allocations: 0 / 0.5553 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003262/0.5899, allocations: 1.655 MB / 0.5569 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.5921, allocations: 273.8 kB / 0.5571 GB, free: 2.965 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05512/0.6472, allocations: 33.82 MB / 0.5902 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002608/0.6498, allocations: 2.301 MB / 0.5924 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003151/0.6529, allocations: 1.404 MB / 0.5938 GB, free: 9.457 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.6544, allocations: 1.116 MB / 0.5949 GB, free: 8.34 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6544, allocations: 0 / 0.5949 GB, free: 8.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/0.7621, allocations: 49.11 MB / 0.6428 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.22/18.99, allocations: 19.61 kB / 0.6429 GB, free: 7.121 MB / 0.5137 GB " [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_2/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_2/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: 23.143473354168236]