Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001328/0.001328, allocations: 84.31 kB / 20.68 MB, free: 1.027 MB / 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.001446/0.001446, allocations: 164.7 kB / 23.95 MB, free: 4.156 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.502/1.502, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.318e-05, allocations: 3.469 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008439/0.008463, allocations: 6.605 MB / 331.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006906/0.01537, allocations: 3.088 MB / 334.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.01655, allocations: 41.81 kB / 334.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.01897, allocations: 1.055 MB / 335.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.02272, allocations: 1.424 MB / 337.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.02381, allocations: 488.2 kB / 337.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004307/0.02812, allocations: 3.02 MB / 340.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.03016, allocations: 1.566 MB / 342.3 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.03205, allocations: 1.313 MB / 343.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.03408, allocations: 1.395 MB / 345 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003369/0.03441, allocations: 176 kB / 345.2 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.03628, allocations: 0.967 MB / 346.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.03739, allocations: 1.165 MB / 347.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.03835, allocations: 0.7202 MB / 348.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00535/0.0437, allocations: 4.365 MB / 352.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.04371, allocations: 4 kB / 352.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.04371, allocations: 0 / 352.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.3e-05/0.04377, allocations: 0 / 352.4 MB, free: 9.684 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.005727/0.04949, allocations: 3.068 MB / 355.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.04953, allocations: 8.031 kB / 355.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007494/0.05703, allocations: 1.906 MB / 357.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.05958, allocations: 1.325 MB / 358.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.0597, allocations: 135.4 kB / 358.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006832/0.06039, allocations: 259.7 kB / 359.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.07232, allocations: 6.705 MB / 365.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.818e-05/0.0724, allocations: 35.69 kB / 365.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/0.07269, allocations: 87.89 kB / 366 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.07504, allocations: 1.363 MB / 367.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.08759, allocations: 6.064 MB / 373.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/0.1196, allocations: 24.16 MB / 397.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007441/0.127, allocations: 2.195 MB / 399.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.1287, allocations: 0.9887 MB / 400.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005867/0.1345, allocations: 2.81 MB / 403.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.1346, allocations: 47 kB / 403.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 3.637e-06/0.1346, allocations: 4 kB / 403.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.03064/0.1652, allocations: 10.32 MB / 413.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001551/0.1668, allocations: 1.556 MB / 415.5 MB, free: 9.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.1705, allocations: 2.679 MB / 418.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.1707, allocations: 45.69 kB / 418.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.1724, allocations: 2.155 MB / 420.3 MB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006622/0.173, allocations: 0.5274 MB / 420.9 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.1743, allocations: 0.9134 MB / 421.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1745, allocations: 353.9 kB / 422.1 MB, free: 2.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/0.1772, allocations: 1.688 MB / 423.8 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005076/0.1823, allocations: 4.487 MB / 428.3 MB, free: 10.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009001/0.1913, allocations: 6.589 MB / 434.9 MB, free: 2.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.149e-05/0.1914, allocations: 28 kB / 434.9 MB, free: 2.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02215/0.2135, allocations: 8.117 MB / 443 MB, free: 10.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.2136, allocations: 52.25 kB / 443.1 MB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01286/0.2265, allocations: 3.605 MB / 446.7 MB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01335/0.2398, allocations: 2.67 MB / 449.4 MB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/0.2434, allocations: 1.021 MB / 450.4 MB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/0.2597, allocations: 9.382 MB / 459.8 MB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/0.2637, allocations: 403.5 kB / 460.2 MB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007923/0.2645, allocations: 284.1 kB / 460.4 MB, free: 8.914 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.002773/0.2673, allocations: 1.423 MB / 461.9 MB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/0.2678, allocations: 214.5 kB / 462.1 MB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/0.2686, allocations: 320.1 kB / 462.4 MB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00674/0.2753, allocations: 2.501 MB / 464.9 MB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.2753, allocations: 4 kB / 464.9 MB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.2753, allocations: 3.984 kB / 464.9 MB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1896/0.465, allocations: 6.249 MB / 471.1 MB, free: 124.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.465, allocations: 4.875 kB / 471.2 MB, free: 124.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008706/0.4659, allocations: 174.1 kB / 471.3 MB, free: 124.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005206/0.4711, allocations: 1.434 MB / 472.8 MB, free: 124.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/0.4713, allocations: 33.61 kB / 472.8 MB, free: 124.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/0.4813, allocations: 7.619 MB / 480.4 MB, free: 120.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008557/0.4821, allocations: 1.414 MB / 481.8 MB, free: 119.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008694/0.4908, allocations: 4.834 MB / 486.7 MB, free: 117.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/0.4914, allocations: 226 kB / 486.9 MB, free: 117.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/0.4917, allocations: 26.95 kB / 486.9 MB, free: 117.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.4931, allocations: 150.9 kB / 487.1 MB, free: 117.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.4934, allocations: 83.95 kB / 487.1 MB, free: 117.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.915e-05/0.4935, allocations: 43.25 kB / 487.2 MB, free: 117.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001882/0.4953, allocations: 1.539 MB / 488.7 MB, free: 117.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4953, allocations: 0 / 488.7 MB, free: 117.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003351/0.4987, allocations: 0.8545 MB / 489.6 MB, free: 117.1 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.0004266/0.4991, allocations: 181.1 kB / 489.7 MB, free: 117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006429/0.5055, allocations: 4.223 MB / 494 MB, free: 115.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5055, allocations: 2.188 kB / 494 MB, free: 115.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.5084, allocations: 1.578 MB / 495.5 MB, free: 114.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.51, allocations: 232.6 kB / 495.8 MB, free: 114.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008563/0.5186, allocations: 6.431 MB / 0.4904 GB, free: 108.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.5205, allocations: 1.724 MB / 0.4921 GB, free: 107.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00261/0.5231, allocations: 1.39 MB / 0.4935 GB, free: 105.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.5235, allocations: 164.4 kB / 0.4936 GB, free: 105.6 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5235, allocations: 4 kB / 0.4936 GB, free: 105.6 MB / 430.1 MB Notification: Performance of Templates: time 0.04101/0.5645, allocations: 28.01 MB / 0.521 GB, free: 77.89 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.900546096265316]