Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001489/0.001489, allocations: 115.9 kB / 20.43 MB, free: 1.301 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.001465/0.001465, allocations: 188.9 kB / 23.72 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 47.92 kB / 370.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.249, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01239/0.2614, allocations: 10.81 MB / 433.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007819/0.2692, allocations: 3.982 MB / 437.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.2705, allocations: 75.62 kB / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004892/0.2754, allocations: 2.62 MB / 440.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004686/0.2801, allocations: 1.805 MB / 441.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.2818, allocations: 0.698 MB / 442.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006099/0.2879, allocations: 3.692 MB / 446.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003902/0.2918, allocations: 2.734 MB / 449.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003008/0.2948, allocations: 1.507 MB / 450.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.298, allocations: 2.103 MB / 452.7 MB, free: 396 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006488/0.2986, allocations: 316 kB / 453 MB, free: 80 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.3011, allocations: 1.217 MB / 454.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.3029, allocations: 1.874 MB / 456.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.3053, allocations: 2.144 MB / 458.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008326/0.3137, allocations: 6.738 MB / 464.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3137, allocations: 0 / 464.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3137, allocations: 0 / 464.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000178/0.3139, allocations: 0 / 464.9 MB, free: 4.059 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.00941/0.3233, allocations: 4.623 MB / 469.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3233, allocations: 8.031 kB / 469.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001062/0.3244, allocations: 0.7197 MB / 470.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/0.3307, allocations: 1.917 MB / 472.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.3361, allocations: 2.261 MB / 474.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.3363, allocations: 246.2 kB / 474.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009104/0.3372, allocations: 399.7 kB / 475.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01737/0.3546, allocations: 10.06 MB / 485.2 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/0.3547, allocations: 39.64 kB / 485.2 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004041/0.3551, allocations: 159.9 kB / 485.4 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002688/0.3578, allocations: 1.856 MB / 487.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01616/0.374, allocations: 8.339 MB / 495.6 MB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04866/0.4226, allocations: 39.18 MB / 0.5222 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009726/0.4323, allocations: 3.411 MB / 0.5255 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.4344, allocations: 1.33 MB / 0.5268 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.4452, allocations: 5.813 MB / 0.5325 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/0.4453, allocations: 59.44 kB / 0.5326 GB, free: 1.586 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.687e-06/0.4453, allocations: 0 / 0.5326 GB, free: 1.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.2473/0.6926, allocations: 12.19 MB / 0.5445 GB, free: 105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008882/0.6935, allocations: 1.571 MB / 0.546 GB, free: 103.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.6974, allocations: 3.833 MB / 0.5497 GB, free: 102.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.6975, allocations: 49.42 kB / 0.5498 GB, free: 102.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.6987, allocations: 3.244 MB / 0.553 GB, free: 99.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.6991, allocations: 0.6785 MB / 0.5536 GB, free: 99.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.7002, allocations: 1.257 MB / 0.5548 GB, free: 98.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.752e-05/0.7002, allocations: 301.1 kB / 0.5551 GB, free: 98.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.7024, allocations: 2.007 MB / 0.5571 GB, free: 97.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003119/0.7055, allocations: 5.941 MB / 0.5629 GB, free: 89.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00575/0.7113, allocations: 8.567 MB / 0.5713 GB, free: 78.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.143e-05/0.7113, allocations: 40 kB / 0.5713 GB, free: 78.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01226/0.7236, allocations: 8.776 MB / 0.5799 GB, free: 70.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/0.7237, allocations: 64 kB / 0.5799 GB, free: 70.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004774/0.7284, allocations: 2.77 MB / 0.5826 GB, free: 67.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/0.7326, allocations: 1.533 MB / 0.5841 GB, free: 65.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/0.7363, allocations: 1.371 MB / 0.5855 GB, free: 64.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/0.7407, allocations: 5.599 MB / 0.5909 GB, free: 58.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/0.745, allocations: 399.5 kB / 0.5913 GB, free: 58.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000612/0.7457, allocations: 387.5 kB / 0.5917 GB, free: 57.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.002491/0.7482, allocations: 2.007 MB / 0.5937 GB, free: 55.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.7486, allocations: 345.7 kB / 0.594 GB, free: 55.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/0.754, allocations: 3.097 MB / 0.597 GB, free: 52.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004503/0.7585, allocations: 2.67 MB / 0.5996 GB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.7585, allocations: 7.984 kB / 0.5996 GB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.7585, allocations: 3.984 kB / 0.5996 GB, free: 49.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.7719, allocations: 8.39 MB / 0.6078 GB, free: 41.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.7719, allocations: 0 / 0.6078 GB, free: 41.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.7727, allocations: 187.7 kB / 0.608 GB, free: 40.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003863/0.7765, allocations: 1.436 MB / 0.6094 GB, free: 39.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.7767, allocations: 39.42 kB / 0.6094 GB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.7813, allocations: 5.812 MB / 0.6151 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000639/0.7819, allocations: 1.432 MB / 0.6165 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007393/0.7893, allocations: 5.302 MB / 0.6217 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009324/0.7902, allocations: 309.5 kB / 0.622 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.7906, allocations: 31.5 kB / 0.622 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7917, allocations: 123.8 kB / 0.6221 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.7919, allocations: 96.8 kB / 0.6222 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/0.792, allocations: 47.92 kB / 0.6223 GB, free: 25.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002674/0.7947, allocations: 2.345 MB / 0.6246 GB, free: 23.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7947, allocations: 0 / 0.6246 GB, free: 23.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004217/0.7989, allocations: 1.004 MB / 0.6255 GB, free: 22.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00653/0.8054, allocations: 5.765 MB / 0.6312 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007535/0.813, allocations: 5.108 MB / 0.6362 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.813, allocations: 0 / 0.6362 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002997/0.816, allocations: 1.798 MB / 0.6379 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.8182, allocations: 395.5 kB / 0.6383 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07217/0.8904, allocations: 45.42 MB / 0.6826 GB, free: 5.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003596/0.894, allocations: 3.111 MB / 0.6857 GB, free: 2.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003877/0.8979, allocations: 1.803 MB / 0.6874 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/0.9001, allocations: 1.77 MB / 0.6892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.9001, allocations: 0 / 0.6892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3464/1.247, allocations: 71.84 MB / 0.7593 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.53/23.77, allocations: 1.5 kB / 0.7593 GB, free: 176.9 MB / 0.5294 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: 26.90192287717946]