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.001609/0.001609, allocations: 119.3 kB / 18.41 MB, free: 4.656 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.001764/0.001765, allocations: 190.9 kB / 21.35 MB, free: 1.723 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.439/1.439, allocations: 222.9 MB / 247 MB, free: 4.211 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.91 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09753, allocations: 49.44 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01227/0.1098, allocations: 10.73 MB / 418.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008371/0.1183, allocations: 3.927 MB / 422.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.12, allocations: 63.81 kB / 422.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005217/0.1253, allocations: 2.577 MB / 425.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004892/0.1302, allocations: 1.762 MB / 427.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.1321, allocations: 0.6824 MB / 427.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2358/0.3679, allocations: 3.684 MB / 431.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004427/0.3723, allocations: 3.549 MB / 435.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.3755, allocations: 1.486 MB / 436.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.3794, allocations: 1.949 MB / 438.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.3805, allocations: 315 kB / 438.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.3836, allocations: 1.169 MB / 440 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002368/0.386, allocations: 1.819 MB / 441.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003066/0.389, allocations: 2.134 MB / 444 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009071/0.3981, allocations: 6.727 MB / 450.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3982, allocations: 0 / 450.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3982, allocations: 0 / 450.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002151/0.3984, allocations: 0 / 450.7 MB, free: 2.312 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01048/0.4089, allocations: 4.695 MB / 455.4 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4089, allocations: 9.406 kB / 455.4 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00877/0.4177, allocations: 2.072 MB / 457.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00489/0.4226, allocations: 2.036 MB / 459.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.4229, allocations: 247.2 kB / 459.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.4242, allocations: 394.2 kB / 460.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.4458, allocations: 10.07 MB / 470.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.4459, allocations: 40.86 kB / 470.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005967/0.4465, allocations: 155.9 kB / 470.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003262/0.4498, allocations: 1.859 MB / 472.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/0.4696, allocations: 8.325 MB / 480.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05315/0.5228, allocations: 39.33 MB / 0.5077 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.5339, allocations: 3.994 MB / 0.5116 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.5362, allocations: 1.427 MB / 0.513 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.548, allocations: 7.638 MB / 0.5205 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.5481, allocations: 51.5 kB / 0.5205 GB, free: 8.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.238e-06/0.5481, allocations: 0 / 0.5205 GB, free: 8.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03594/0.5841, allocations: 12.6 MB / 0.5328 GB, free: 11.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001654/0.5858, allocations: 1.673 MB / 0.5345 GB, free: 9.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/0.5932, allocations: 3.825 MB / 0.5382 GB, free: 5.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.5937, allocations: 45.7 kB / 0.5382 GB, free: 5.852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002998/0.5967, allocations: 3.25 MB / 0.5414 GB, free: 2.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.5978, allocations: 0.673 MB / 0.5421 GB, free: 1.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002269/0.6001, allocations: 1.266 MB / 0.5433 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6003, allocations: 309.2 kB / 0.5436 GB, free: 388 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/0.6041, allocations: 2.034 MB / 0.5456 GB, free: 14.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007214/0.6114, allocations: 5.97 MB / 0.5514 GB, free: 6.473 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.6227, allocations: 8.626 MB / 0.5598 GB, free: 12.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.6228, allocations: 40 kB / 0.5599 GB, free: 12.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02419/0.647, allocations: 9.748 MB / 0.5694 GB, free: 2.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-05/0.6472, allocations: 64 kB / 0.5695 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01193/0.6591, allocations: 3.743 MB / 0.5731 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/0.6715, allocations: 2.614 MB / 0.5757 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/0.676, allocations: 1.368 MB / 0.577 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.6876, allocations: 7.718 MB / 0.5845 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/0.6927, allocations: 403.5 kB / 0.5849 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009605/0.6936, allocations: 390.6 kB / 0.5853 GB, free: 1.652 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 (742): * Single equations (assignments): 732 * 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 {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.003778/0.6974, allocations: 2.001 MB / 0.5872 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006377/0.6981, allocations: 353.6 kB / 0.5876 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/0.7053, allocations: 3.124 MB / 0.5906 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006036/0.7114, allocations: 2.687 MB / 0.5933 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.7114, allocations: 4 kB / 0.5933 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/0.7114, allocations: 11.97 kB / 0.5933 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.7287, allocations: 8.541 MB / 0.6016 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/0.7288, allocations: 7.984 kB / 0.6016 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009976/0.7298, allocations: 191.8 kB / 0.6018 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004971/0.7347, allocations: 1.436 MB / 0.6032 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/0.735, allocations: 39.97 kB / 0.6032 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007272/0.7423, allocations: 6.012 MB / 0.6091 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001222/0.7435, allocations: 1.547 MB / 0.6106 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009843/0.7534, allocations: 5.318 MB / 0.6158 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.7544, allocations: 394.6 kB / 0.6162 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004184/0.7548, allocations: 24 kB / 0.6162 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.7562, allocations: 119.8 kB / 0.6163 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.7565, allocations: 96.78 kB / 0.6164 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.7566, allocations: 55.38 kB / 0.6165 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.1984/0.9551, allocations: 2.341 MB / 0.6188 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.61e-07/0.9551, allocations: 0 / 0.6188 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006307/0.9614, allocations: 1.03 MB / 0.6198 GB, free: 173.7 MB / 0.5137 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.0005449/0.962, allocations: 165.7 kB / 0.6199 GB, free: 173.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01154/0.9736, allocations: 5.51 MB / 0.6253 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.9736, allocations: 0 / 0.6253 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004261/0.9779, allocations: 2.044 MB / 0.6273 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.981, allocations: 392 kB / 0.6277 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.9982, allocations: 9.53 MB / 0.637 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/1.001, allocations: 3.107 MB / 0.64 GB, free: 168.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008661/1.002, allocations: 268.9 kB / 0.6403 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/1.002, allocations: 0 / 0.6403 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1205/1.123, allocations: 144 MB / 0.7809 GB, free: 34.96 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] 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: 14.147943702992052]