Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 82.92 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 157.1 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.196e-05, allocations: 6.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008905/0.008927, allocations: 6.585 MB / 331.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006661/0.01559, allocations: 3.094 MB / 334.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.01637, allocations: 40.03 kB / 334.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.01862, allocations: 1.056 MB / 335.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.02162, allocations: 1.43 MB / 337.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.02262, allocations: 488.1 kB / 337.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003706/0.02633, allocations: 3.016 MB / 340.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.02836, allocations: 1.569 MB / 342.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.03018, allocations: 1.306 MB / 343.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.03238, allocations: 1.407 MB / 345 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000351/0.03273, allocations: 176 kB / 345.2 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.03465, allocations: 0.9632 MB / 346.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.03596, allocations: 1.172 MB / 347.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.03699, allocations: 0.7124 MB / 348 MB, free: 14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005355/0.04234, allocations: 4.368 MB / 352.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.04235, allocations: 4 kB / 352.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.04235, allocations: 0 / 352.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.319e-05/0.0424, allocations: 0 / 352.4 MB, free: 9.613 MB / 318.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.006325/0.04873, allocations: 3.06 MB / 355.4 MB, free: 6.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.04878, allocations: 15.98 kB / 355.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007928/0.0567, allocations: 1.914 MB / 357.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.05953, allocations: 1.321 MB / 358.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.05965, allocations: 135.4 kB / 358.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007356/0.06039, allocations: 259.7 kB / 359.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.07264, allocations: 6.709 MB / 365.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.691e-05/0.07272, allocations: 35.69 kB / 365.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.07302, allocations: 83.91 kB / 365.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/0.07546, allocations: 1.37 MB / 367.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.08794, allocations: 6.056 MB / 373.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03187/0.1198, allocations: 24.16 MB / 397.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007471/0.1273, allocations: 2.194 MB / 399.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.1289, allocations: 0.9929 MB / 400.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005896/0.1348, allocations: 2.817 MB / 403.5 MB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.1348, allocations: 47.06 kB / 403.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 3.346e-06/0.1348, allocations: 0 / 403.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.02989/0.1647, allocations: 10.33 MB / 413.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001486/0.1662, allocations: 1.545 MB / 415.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/0.1701, allocations: 2.676 MB / 418.1 MB, free: 6.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.1703, allocations: 49.64 kB / 418.1 MB, free: 6.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.1719, allocations: 2.155 MB / 420.3 MB, free: 4.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/0.1725, allocations: 0.5273 MB / 420.8 MB, free: 3.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.1737, allocations: 0.9056 MB / 421.7 MB, free: 2.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1739, allocations: 349.9 kB / 422.1 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.1766, allocations: 1.692 MB / 423.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/0.1816, allocations: 4.491 MB / 428.3 MB, free: 10.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008389/0.1899, allocations: 6.592 MB / 434.8 MB, free: 2.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.449e-05/0.19, allocations: 28 kB / 434.9 MB, free: 2.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02177/0.2118, allocations: 8.116 MB / 443 MB, free: 10.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.135e-05/0.2119, allocations: 44.94 kB / 443 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01271/0.2246, allocations: 3.605 MB / 446.6 MB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/0.2377, allocations: 2.666 MB / 449.3 MB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.2412, allocations: 1.029 MB / 450.3 MB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.2571, allocations: 9.384 MB / 459.7 MB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/0.2611, allocations: 403.5 kB / 460.1 MB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000597/0.2617, allocations: 280 kB / 460.4 MB, free: 8.844 MB / 430.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 (547): * Single equations (assignments): 539 * 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.002363/0.2641, allocations: 1.415 MB / 461.8 MB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/0.2645, allocations: 226.5 kB / 462 MB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.2652, allocations: 311.6 kB / 462.3 MB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006634/0.2718, allocations: 2.505 MB / 464.8 MB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.2718, allocations: 4 kB / 464.8 MB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.2718, allocations: 7.984 kB / 464.8 MB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1882/0.46, allocations: 6.241 MB / 471.1 MB, free: 124.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/0.4601, allocations: 4.75 kB / 471.1 MB, free: 124.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000964/0.461, allocations: 180.1 kB / 471.3 MB, free: 124.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00528/0.4663, allocations: 1.434 MB / 472.7 MB, free: 124.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/0.4665, allocations: 35.59 kB / 472.7 MB, free: 124.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.4768, allocations: 7.611 MB / 480.3 MB, free: 120.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009137/0.4778, allocations: 1.416 MB / 481.8 MB, free: 119.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009292/0.487, allocations: 4.837 MB / 486.6 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007099/0.4878, allocations: 225.5 kB / 486.8 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005098/0.4883, allocations: 27.09 kB / 486.8 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.4899, allocations: 156.4 kB / 487 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.4902, allocations: 88.48 kB / 487.1 MB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4903, allocations: 37.66 kB / 487.1 MB, free: 117.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002734/0.493, allocations: 1.544 MB / 488.7 MB, free: 117.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.493, allocations: 0 / 488.7 MB, free: 117.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003932/0.497, allocations: 0.8492 MB / 489.5 MB, free: 117 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.0005592/0.4975, allocations: 173.7 kB / 489.7 MB, free: 116.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006821/0.5043, allocations: 4.226 MB / 493.9 MB, free: 115.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.5043, allocations: 0 / 493.9 MB, free: 115.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002788/0.5071, allocations: 1.575 MB / 495.5 MB, free: 114.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.5088, allocations: 244.2 kB / 495.7 MB, free: 114.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00793/0.5167, allocations: 6.422 MB / 0.4904 GB, free: 108.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.5183, allocations: 1.731 MB / 0.4921 GB, free: 107 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002387/0.5206, allocations: 1.391 MB / 0.4934 GB, free: 105.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.521, allocations: 156.5 kB / 0.4936 GB, free: 105.4 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.521, allocations: 0 / 0.4936 GB, free: 105.4 MB / 430.1 MB Notification: Performance of Templates: time 0.04262/0.5637, allocations: 28.01 MB / 0.5209 GB, free: 77.71 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.931219898164272]