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.00195/0.00195, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.002234/0.002234, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.392/1.392, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.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.001417/0.001417, allocations: 52.06 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09416, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01266/0.1068, allocations: 10.78 MB / 428.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008136/0.115, allocations: 3.955 MB / 432.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.1167, allocations: 59.81 kB / 432.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005508/0.1222, allocations: 2.62 MB / 435.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.1271, allocations: 1.798 MB / 437 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.129, allocations: 0.6902 MB / 437.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006135/0.1352, allocations: 3.697 MB / 441.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004452/0.1396, allocations: 2.961 MB / 444.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.1424, allocations: 1.476 MB / 445.8 MB, free: 440 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1866/0.329, allocations: 2.115 MB / 447.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008484/0.3299, allocations: 315.4 kB / 448.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.332, allocations: 1.206 MB / 449.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.3338, allocations: 1.874 MB / 451.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.336, allocations: 2.143 MB / 453.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009625/0.3456, allocations: 6.733 MB / 460.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3456, allocations: 0 / 460.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3456, allocations: 4.188 kB / 460.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003206/0.3459, allocations: 0 / 460.2 MB, free: 8.816 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.01156/0.3575, allocations: 4.702 MB / 464.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3575, allocations: 13.22 kB / 464.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/0.3586, allocations: 0.7196 MB / 465.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006042/0.3646, allocations: 1.915 MB / 467.6 MB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004775/0.3694, allocations: 2.334 MB / 469.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.3695, allocations: 252 kB / 470.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008208/0.3704, allocations: 388.6 kB / 470.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.3856, allocations: 10.08 MB / 480.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.08e-05/0.3857, allocations: 35.66 kB / 480.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003819/0.386, allocations: 154.8 kB / 480.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002391/0.3884, allocations: 1.856 MB / 482.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.4043, allocations: 8.331 MB / 491 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05858/0.4629, allocations: 39.28 MB / 0.5178 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.4736, allocations: 3.869 MB / 0.5216 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.4759, allocations: 1.339 MB / 0.5229 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.4903, allocations: 7.597 MB / 0.5303 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.4904, allocations: 53.34 kB / 0.5304 GB, free: 4.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.929e-06/0.4904, allocations: 0 / 0.5304 GB, free: 4.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03401/0.5244, allocations: 12.57 MB / 0.5426 GB, free: 7.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001622/0.526, allocations: 1.69 MB / 0.5443 GB, free: 6.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0076/0.5336, allocations: 3.829 MB / 0.548 GB, free: 2.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004411/0.534, allocations: 49.7 kB / 0.5481 GB, free: 2.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003013/0.5371, allocations: 3.242 MB / 0.5513 GB, free: 14.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.5381, allocations: 0.6771 MB / 0.5519 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00331/0.5415, allocations: 1.261 MB / 0.5531 GB, free: 13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5416, allocations: 301.1 kB / 0.5534 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005645/0.5473, allocations: 2.003 MB / 0.5554 GB, free: 10.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/0.5578, allocations: 5.939 MB / 0.5612 GB, free: 2.859 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/0.5697, allocations: 8.578 MB / 0.5696 GB, free: 8.824 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001661/0.5699, allocations: 40 kB / 0.5696 GB, free: 8.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02048/0.5904, allocations: 8.784 MB / 0.5782 GB, free: 0 / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.5906, allocations: 64.05 kB / 0.5782 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00657/0.5972, allocations: 2.759 MB / 0.5809 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005205/0.6024, allocations: 1.54 MB / 0.5824 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/0.6068, allocations: 1.361 MB / 0.5838 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/0.6136, allocations: 5.788 MB / 0.5894 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/0.6185, allocations: 407 kB / 0.5898 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/0.6198, allocations: 391.9 kB / 0.5902 GB, free: 3.367 MB / 494.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.005363/0.6251, allocations: 2.009 MB / 0.5921 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009897/0.6261, allocations: 345.7 kB / 0.5925 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007889/0.634, allocations: 3.106 MB / 0.5955 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006194/0.6402, allocations: 2.666 MB / 0.5981 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.6402, allocations: 4 kB / 0.5981 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.6402, allocations: 3.984 kB / 0.5981 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02318/0.6634, allocations: 8.534 MB / 0.6065 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.6634, allocations: 1.359 kB / 0.6065 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009311/0.6644, allocations: 187.7 kB / 0.6066 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004517/0.6689, allocations: 1.432 MB / 0.608 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.6691, allocations: 35.97 kB / 0.6081 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006888/0.676, allocations: 6.02 MB / 0.6139 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001203/0.6772, allocations: 1.551 MB / 0.6155 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009719/0.6869, allocations: 5.295 MB / 0.6206 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.688, allocations: 390.6 kB / 0.621 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007332/0.6888, allocations: 31.92 kB / 0.621 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.6905, allocations: 122.2 kB / 0.6212 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.6907, allocations: 88.84 kB / 0.6212 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.6908, allocations: 43.98 kB / 0.6213 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004711/0.6956, allocations: 2.349 MB / 0.6236 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6956, allocations: 0 / 0.6236 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005382/0.7009, allocations: 1.006 MB / 0.6246 GB, free: 15.54 MB / 0.5294 GB 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.008701/0.7096, allocations: 5.761 MB / 0.6302 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009668/0.7193, allocations: 5.251 MB / 0.6353 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7193, allocations: 192 / 0.6353 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004057/0.7234, allocations: 1.952 MB / 0.6372 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.7259, allocations: 403 kB / 0.6376 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2318/0.9577, allocations: 45.34 MB / 0.6819 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/0.9603, allocations: 3.1 MB / 0.6849 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003076/0.9633, allocations: 1.807 MB / 0.6867 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.9648, allocations: 1.765 MB / 0.6884 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.9648, allocations: 0 / 0.6884 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.921/2.886, allocations: 66.62 MB / 0.7535 GB, free: 92.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.5/24.39, allocations: 8 kB / 0.7535 GB, free: 92.41 MB / 0.5294 GB " [Timeout remaining time 635] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 30.924721177201718]