Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.166/1.166, allocations: 205.1 MB / 223.7 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000881/0.000881, allocations: 99.61 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008058/0.0008058, allocations: 31.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1878, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01294/0.2008, allocations: 17.92 MB / 391.7 MB, free: 31.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007554/0.2084, allocations: 5.039 MB / 396.8 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.2108, allocations: 71.81 kB / 396.9 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.2125, allocations: 1.005 MB / 397.9 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.2146, allocations: 1.272 MB / 399.1 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.2153, allocations: 415.3 kB / 399.5 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.2176, allocations: 3.639 MB / 403.2 MB, free: 20.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.219, allocations: 1.518 MB / 404.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.2196, allocations: 0.7393 MB / 405.4 MB, free: 17.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.2207, allocations: 1.308 MB / 406.7 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.2209, allocations: 116 kB / 406.9 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.2223, allocations: 1.014 MB / 407.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.2229, allocations: 1.079 MB / 408.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006842/0.2236, allocations: 1.265 MB / 410.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.2261, allocations: 4.159 MB / 414.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2261, allocations: 4 kB / 414.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2261, allocations: 0 / 414.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.947e-05/0.2261, allocations: 0 / 414.4 MB, free: 8.828 MB / 298.7 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.003787/0.2299, allocations: 3.059 MB / 417.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.23, allocations: 8.031 kB / 417.4 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/0.2352, allocations: 1.732 MB / 419.2 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.2374, allocations: 1.441 MB / 420.6 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.2374, allocations: 131.3 kB / 420.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/0.2379, allocations: 259.6 kB / 421 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007815/0.2457, allocations: 6.656 MB / 427.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/0.2458, allocations: 27.72 kB / 427.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.246, allocations: 87.89 kB / 427.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/0.2479, allocations: 1.367 MB / 429.1 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009423/0.2573, allocations: 6.029 MB / 435.2 MB, free: 3.465 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.2829, allocations: 25.64 MB / 460.8 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006259/0.2892, allocations: 2.662 MB / 463.5 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.2904, allocations: 1.028 MB / 464.5 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005143/0.2955, allocations: 3.892 MB / 468.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.2956, allocations: 51.06 kB / 468.4 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=112): time 4.559e-06/0.2956, allocations: 0 / 468.4 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.02317/0.3188, allocations: 10.3 MB / 478.7 MB, free: 6.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001064/0.3199, allocations: 1.592 MB / 480.3 MB, free: 4.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.3229, allocations: 2.737 MB / 483.1 MB, free: 2.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/0.323, allocations: 37.7 kB / 483.1 MB, free: 1.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.3241, allocations: 2.083 MB / 485.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.3245, allocations: 0.5054 MB / 485.7 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009867/0.3255, allocations: 0.9165 MB / 486.6 MB, free: 14.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.3256, allocations: 301.1 kB / 486.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.3276, allocations: 1.652 MB / 488.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/0.3312, allocations: 4.46 MB / 493 MB, free: 6.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005922/0.3371, allocations: 6.545 MB / 499.6 MB, free: 14.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.624e-05/0.3371, allocations: 31.94 kB / 499.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01712/0.3543, allocations: 8 MB / 0.4957 GB, free: 6.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.3543, allocations: 52.25 kB / 0.4957 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0106/0.365, allocations: 3.488 MB / 0.4992 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/0.3761, allocations: 2.58 MB / 0.5017 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1449/0.521, allocations: 1.006 MB / 0.5027 GB, free: 118.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.5331, allocations: 8.884 MB / 0.5113 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.5361, allocations: 327.5 kB / 0.5116 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004748/0.5366, allocations: 280.5 kB / 0.5119 GB, free: 115 MB / 394.7 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.001653/0.5383, allocations: 1.423 MB / 0.5133 GB, free: 114.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.5386, allocations: 234.9 kB / 0.5135 GB, free: 114.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005882/0.5445, allocations: 2.843 MB / 0.5163 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004926/0.5495, allocations: 2.51 MB / 0.5188 GB, free: 113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.5495, allocations: 8.531 kB / 0.5188 GB, free: 113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.5495, allocations: 9.188 kB / 0.5188 GB, free: 113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.5602, allocations: 6.874 MB / 0.5255 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5603, allocations: 0 / 0.5255 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.561, allocations: 174.9 kB / 0.5256 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004155/0.5651, allocations: 1.435 MB / 0.527 GB, free: 108.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.5653, allocations: 35.92 kB / 0.5271 GB, free: 108.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007165/0.5724, allocations: 7.316 MB / 0.5342 GB, free: 100.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006514/0.5731, allocations: 1.454 MB / 0.5356 GB, free: 99.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05489/0.628, allocations: 33.79 MB / 0.5686 GB, free: 65.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.6284, allocations: 290 kB / 0.5689 GB, free: 65.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.6286, allocations: 27.98 kB / 0.569 GB, free: 65.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.6296, allocations: 111.8 kB / 0.5691 GB, free: 65.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.6299, allocations: 80.39 kB / 0.5691 GB, free: 64.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-05/0.63, allocations: 43.8 kB / 0.5692 GB, free: 64.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001791/0.6318, allocations: 1.697 MB / 0.5708 GB, free: 63.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6318, allocations: 0 / 0.5708 GB, free: 63.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003163/0.635, allocations: 1.069 MB / 0.5719 GB, free: 62.12 MB / 394.7 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.0002647/0.6352, allocations: 168.7 kB / 0.572 GB, free: 61.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005638/0.6409, allocations: 4.422 MB / 0.5764 GB, free: 57.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.6409, allocations: 7.938 kB / 0.5764 GB, free: 57.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.6434, allocations: 1.711 MB / 0.578 GB, free: 55.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6449, allocations: 257.6 kB / 0.5783 GB, free: 55.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.6557, allocations: 9.5 MB / 0.5876 GB, free: 45.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.6572, allocations: 2.341 MB / 0.5898 GB, free: 43.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002631/0.6598, allocations: 1.431 MB / 0.5912 GB, free: 42.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.6602, allocations: 167.4 kB / 0.5914 GB, free: 41.91 MB / 394.7 MB Notification: Performance of SimCode: time 5e-07/0.6602, allocations: 3.938 kB / 0.5914 GB, free: 41.91 MB / 394.7 MB Notification: Performance of Templates: time 0.04148/0.7017, allocations: 38.45 MB / 0.629 GB, free: 3.484 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches