Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001278/0.001278, allocations: 72.3 kB / 21.24 MB, free: 404 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.00135/0.00135, allocations: 169.9 kB / 24.5 MB, free: 3.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: 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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 42.72 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08698/0.08859, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01153/0.1001, allocations: 9.362 MB / 388.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007734/0.1079, allocations: 3.768 MB / 392 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.109, allocations: 75.62 kB / 392.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004781/0.1137, allocations: 2.515 MB / 394.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.118, allocations: 1.79 MB / 396.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1194, allocations: 0.6785 MB / 397.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004757/0.1241, allocations: 3.719 MB / 400.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/0.1273, allocations: 2.71 MB / 403.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.1292, allocations: 1.491 MB / 405 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.1321, allocations: 1.981 MB / 407 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006137/0.1327, allocations: 319.9 kB / 407.3 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.1346, allocations: 1.053 MB / 408.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001886/0.1365, allocations: 1.85 MB / 410.2 MB, free: 220 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.1385, allocations: 1.576 MB / 411.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.1462, allocations: 6.7 MB / 418.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1462, allocations: 0 / 418.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1462, allocations: 4 kB / 418.5 MB, free: 7.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001243/0.1463, allocations: 0 / 418.5 MB, free: 7.898 MB / 382.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.008329/0.1546, allocations: 4.584 MB / 423.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1547, allocations: 8.031 kB / 423.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007614/0.1623, allocations: 2.065 MB / 425.1 MB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004269/0.1665, allocations: 1.957 MB / 427.1 MB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.1668, allocations: 246.2 kB / 427.3 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008537/0.1676, allocations: 395.7 kB / 427.7 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/0.1854, allocations: 10.19 MB / 437.9 MB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.761e-05/0.1855, allocations: 35.69 kB / 438 MB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.1859, allocations: 159.8 kB / 438.1 MB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/0.1888, allocations: 1.857 MB / 440 MB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.2054, allocations: 8.355 MB / 448.3 MB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2176/0.423, allocations: 37.01 MB / 485.3 MB, free: 56.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.4335, allocations: 3.604 MB / 488.9 MB, free: 56.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.4352, allocations: 1.333 MB / 490.3 MB, free: 56.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00872/0.444, allocations: 5.558 MB / 495.8 MB, free: 53.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.444, allocations: 49.53 kB / 495.9 MB, free: 53.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 3.757e-06/0.444, allocations: 0 / 495.9 MB, free: 53.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.02905/0.473, allocations: 12.55 MB / 0.4965 GB, free: 48.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009117/0.474, allocations: 1.563 MB / 0.498 GB, free: 47.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.478, allocations: 3.655 MB / 0.5016 GB, free: 44.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.4781, allocations: 49.7 kB / 0.5017 GB, free: 44.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.4793, allocations: 3.259 MB / 0.5048 GB, free: 41.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000516/0.4798, allocations: 0.6804 MB / 0.5055 GB, free: 40.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.4812, allocations: 1.268 MB / 0.5067 GB, free: 39.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.4813, allocations: 301.1 kB / 0.507 GB, free: 38.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/0.4838, allocations: 2.058 MB / 0.509 GB, free: 36.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003843/0.4877, allocations: 5.997 MB / 0.5149 GB, free: 28.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/0.4945, allocations: 8.655 MB / 0.5233 GB, free: 18.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.826e-05/0.4945, allocations: 40 kB / 0.5234 GB, free: 18.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01885/0.5134, allocations: 9.833 MB / 0.533 GB, free: 8.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.5135, allocations: 67.94 kB / 0.5331 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01103/0.5245, allocations: 3.845 MB / 0.5368 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/0.5359, allocations: 2.721 MB / 0.5395 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/0.5397, allocations: 1.372 MB / 0.5408 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/0.5578, allocations: 11.07 MB / 0.5516 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/0.5625, allocations: 436.4 kB / 0.552 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009763/0.5635, allocations: 388 kB / 0.5524 GB, free: 4.344 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 (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.00366/0.5671, allocations: 2.009 MB / 0.5544 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006853/0.5678, allocations: 313.9 kB / 0.5547 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009689/0.5688, allocations: 405.1 kB / 0.555 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006569/0.5753, allocations: 2.707 MB / 0.5577 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/0.5754, allocations: 7.938 kB / 0.5577 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5754, allocations: 3.984 kB / 0.5577 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/0.5928, allocations: 7.499 MB / 0.565 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.5929, allocations: 7.984 kB / 0.565 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009062/0.5938, allocations: 187.7 kB / 0.5652 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004916/0.5987, allocations: 1.451 MB / 0.5666 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.5988, allocations: 36.44 kB / 0.5667 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.6128, allocations: 9.353 MB / 0.5758 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001181/0.614, allocations: 1.409 MB / 0.5772 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.6241, allocations: 5.336 MB / 0.5824 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009452/0.6251, allocations: 273.9 kB / 0.5826 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005554/0.6256, allocations: 43.92 kB / 0.5827 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.6272, allocations: 131.8 kB / 0.5828 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003549/0.6276, allocations: 116.6 kB / 0.5829 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.6277, allocations: 47.98 kB / 0.583 GB, free: 4.461 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003786/0.6315, allocations: 2.058 MB / 0.585 GB, free: 2.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6315, allocations: 0 / 0.585 GB, free: 2.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005054/0.6365, allocations: 1.066 MB / 0.586 GB, free: 1.348 MB / 478.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.0004201/0.637, allocations: 174.8 kB / 0.5862 GB, free: 1.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01023/0.6472, allocations: 5.411 MB / 0.5915 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6472, allocations: 0 / 0.5915 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004504/0.6517, allocations: 2.09 MB / 0.5935 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.6541, allocations: 354.4 kB / 0.5939 GB, free: 9.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.6711, allocations: 9.124 MB / 0.6028 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/0.6752, allocations: 2.588 MB / 0.6053 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003966/0.6792, allocations: 1.766 MB / 0.607 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.6797, allocations: 212.5 kB / 0.6072 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.6797, allocations: 0 / 0.6072 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.0695/0.7492, allocations: 35.03 MB / 0.6414 GB, free: 8.973 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.360932906973176]