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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000753/0.0007532, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008628/0.0008628, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.7 MB / 247.5 MB, free: 11.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002383, allocations: 8 kB / 308.4 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.08967, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.1908/0.2805, allocations: 17.12 MB / 377 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009577/0.2901, allocations: 4.975 MB / 382 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.2931, allocations: 70.84 kB / 382.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009932/0.2941, allocations: 274.6 kB / 382.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.298, allocations: 1.266 MB / 383.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2991, allocations: 421.7 kB / 384 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005101/0.3042, allocations: 3.644 MB / 387.7 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00324/0.3075, allocations: 2.025 MB / 389.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.309, allocations: 0.6587 MB / 390.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.311, allocations: 1.214 MB / 391.6 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.3115, allocations: 90.41 kB / 391.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.3139, allocations: 0.9838 MB / 392.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.3154, allocations: 1.024 MB / 393.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.3174, allocations: 1.221 MB / 394.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.3213, allocations: 3.245 MB / 398.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3213, allocations: 7.938 kB / 398.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3214, allocations: 0 / 398.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001733/0.3215, allocations: 0 / 398.1 MB, free: 1.473 MB / 302.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.006318/0.3279, allocations: 2.506 MB / 400.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3279, allocations: 8.5 kB / 400.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007373/0.3353, allocations: 1.836 MB / 402.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.3387, allocations: 1.358 MB / 403.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3389, allocations: 135 kB / 404 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.3399, allocations: 260 kB / 404.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.3535, allocations: 6.692 MB / 410.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.3536, allocations: 27.75 kB / 411 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006043/0.3542, allocations: 85.47 kB / 411 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002455/0.3567, allocations: 1.37 MB / 412.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/0.3696, allocations: 6.069 MB / 418.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03417/0.4038, allocations: 25.62 MB / 444.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007469/0.4113, allocations: 2.698 MB / 446.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.413, allocations: 1.032 MB / 447.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007128/0.4201, allocations: 3.989 MB / 451.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.4202, allocations: 47.06 kB / 451.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 4.188e-06/0.4202, allocations: 0 / 451.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.02966/0.4499, allocations: 10.36 MB / 462.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001365/0.4513, allocations: 1.576 MB / 463.8 MB, free: 104 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/0.4561, allocations: 2.731 MB / 466.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/0.4564, allocations: 41.7 kB / 466.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.458, allocations: 2.074 MB / 468.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007134/0.4587, allocations: 0.5086 MB / 469.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007754/0.4595, allocations: 391.8 kB / 469.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.4596, allocations: 301.1 kB / 469.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/0.4625, allocations: 1.664 MB / 471.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005679/0.4682, allocations: 4.46 MB / 475.9 MB, free: 2.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00848/0.4767, allocations: 6.557 MB / 482.5 MB, free: 10.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.452e-05/0.4769, allocations: 28 kB / 482.5 MB, free: 10.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02187/0.4988, allocations: 8.082 MB / 490.6 MB, free: 2.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.4989, allocations: 50.34 kB / 490.7 MB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01273/0.5116, allocations: 3.577 MB / 494.2 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/0.5246, allocations: 2.673 MB / 496.9 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003359/0.528, allocations: 1.014 MB / 497.9 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/0.5424, allocations: 8.895 MB / 0.4949 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/0.5462, allocations: 339.5 kB / 0.4953 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008725/0.5471, allocations: 284 kB / 0.4955 GB, free: 1.32 MB / 414.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.003036/0.5502, allocations: 1.429 MB / 0.4969 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005639/0.5508, allocations: 228.8 kB / 0.4972 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000925/0.5517, allocations: 325.9 kB / 0.4975 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006462/0.5582, allocations: 2.529 MB / 0.4999 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.5582, allocations: 4 kB / 0.4999 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.5583, allocations: 3.984 kB / 0.4999 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.5734, allocations: 6.883 MB / 0.5067 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.5734, allocations: 4.5 kB / 0.5067 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009272/0.5743, allocations: 183.7 kB / 0.5068 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005234/0.5796, allocations: 1.43 MB / 0.5082 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/0.5799, allocations: 35.97 kB / 0.5083 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.5904, allocations: 7.327 MB / 0.5154 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001088/0.5915, allocations: 1.462 MB / 0.5169 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009688/0.6013, allocations: 4.881 MB / 0.5216 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007323/0.602, allocations: 294 kB / 0.5219 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005511/0.6026, allocations: 23.98 kB / 0.5219 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.6041, allocations: 115.8 kB / 0.522 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.6045, allocations: 84.31 kB / 0.5221 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.6046, allocations: 38.33 kB / 0.5222 GB, free: 5.484 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003279/0.6079, allocations: 1.689 MB / 0.5238 GB, free: 3.785 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6079, allocations: 0 / 0.5238 GB, free: 3.785 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004578/0.6125, allocations: 0.7774 MB / 0.5246 GB, free: 3.008 MB / 446.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.0005684/0.6131, allocations: 153.3 kB / 0.5247 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1701/0.7832, allocations: 4.436 MB / 0.529 GB, free: 144.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7833, allocations: 1.031 kB / 0.529 GB, free: 144.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003575/0.7868, allocations: 1.729 MB / 0.5307 GB, free: 144 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.7892, allocations: 259.4 kB / 0.531 GB, free: 143.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.8007, allocations: 8.261 MB / 0.539 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.8032, allocations: 2.295 MB / 0.5413 GB, free: 139.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/0.804, allocations: 198.9 kB / 0.5415 GB, free: 139.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.804, allocations: 5.156 kB / 0.5415 GB, free: 139.6 MB / 446.1 MB Notification: Performance of Templates: time 0.07062/0.8746, allocations: 74.93 MB / 0.6147 GB, free: 76.61 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches