Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 168.8 kB / 16.72 MB, free: 5.051 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.475/1.475, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008168/0.0008167, allocations: 89.03 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.02771/0.3543, allocations: 38.2 MB / 413.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.3746, allocations: 8.672 MB / 422 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008163/0.3828, allocations: 175.6 kB / 422.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006465/0.3893, allocations: 1.975 MB / 424.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01785/0.4072, allocations: 5.925 MB / 430 MB, free: 9.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.4109, allocations: 0.6124 MB / 430.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006907/0.4179, allocations: 4.289 MB / 434.9 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007848/0.4258, allocations: 4.672 MB / 439.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.429, allocations: 1.203 MB / 440.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.4327, allocations: 1.799 MB / 442.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.4339, allocations: 136 kB / 442.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.4368, allocations: 1.03 MB / 443.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.4393, allocations: 1.589 MB / 445.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004208/0.4435, allocations: 1.827 MB / 447.2 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007192/0.4508, allocations: 5.12 MB / 452.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.4508, allocations: 0 / 452.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4508, allocations: 0 / 452.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003212/0.4512, allocations: 4 kB / 452.3 MB, free: 3.184 MB / 330.7 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.009267/0.4604, allocations: 3.742 MB / 456.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4605, allocations: 8.031 kB / 456.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00693/0.4674, allocations: 1.926 MB / 458 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004878/0.4724, allocations: 2.044 MB / 460 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.4727, allocations: 242.2 kB / 460.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.4744, allocations: 391.8 kB / 460.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.4949, allocations: 10.06 MB / 470.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002153/0.4952, allocations: 39.59 kB / 470.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.4964, allocations: 155.9 kB / 470.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003157/0.4996, allocations: 1.86 MB / 472.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.5185, allocations: 8.292 MB / 481.1 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2534/0.7719, allocations: 39.39 MB / 0.5082 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.7822, allocations: 3.995 MB / 0.5121 GB, free: 81.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/0.7846, allocations: 1.419 MB / 0.5135 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.7959, allocations: 7.629 MB / 0.521 GB, free: 75.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.796, allocations: 56.23 kB / 0.521 GB, free: 75.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 6.843e-06/0.796, allocations: 0 / 0.521 GB, free: 75.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=159): time 0.02944/0.8255, allocations: 12.41 MB / 0.5332 GB, free: 67.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009334/0.8265, allocations: 1.596 MB / 0.5347 GB, free: 65.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/0.8318, allocations: 3.793 MB / 0.5384 GB, free: 61.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.832, allocations: 51.05 kB / 0.5385 GB, free: 61.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.8338, allocations: 3.121 MB / 0.5415 GB, free: 58.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/0.8343, allocations: 0.6514 MB / 0.5421 GB, free: 57.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.8345, allocations: 120 kB / 0.5423 GB, free: 57.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.8348, allocations: 0.5665 MB / 0.5428 GB, free: 57.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/0.8377, allocations: 2.011 MB / 0.5448 GB, free: 55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/0.8417, allocations: 5.943 MB / 0.5506 GB, free: 47.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007629/0.8493, allocations: 8.59 MB / 0.559 GB, free: 36.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.561e-05/0.8494, allocations: 45.44 kB / 0.559 GB, free: 36.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01909/0.8685, allocations: 9.686 MB / 0.5685 GB, free: 26.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.8687, allocations: 68.41 kB / 0.5685 GB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009909/0.8786, allocations: 3.745 MB / 0.5722 GB, free: 23.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.8891, allocations: 2.629 MB / 0.5748 GB, free: 20.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/0.8931, allocations: 1.368 MB / 0.5761 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/0.9014, allocations: 7.197 MB / 0.5831 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00494/0.9063, allocations: 399.3 kB / 0.5835 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/0.9075, allocations: 391.2 kB / 0.5839 GB, free: 10.77 MB / 378.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of prepare postOptimizeDAE: time 0.00388/0.9114, allocations: 2.013 MB / 0.5858 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007347/0.9121, allocations: 327.7 kB / 0.5862 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006902/0.919, allocations: 3.132 MB / 0.5892 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004929/0.924, allocations: 2.679 MB / 0.5918 GB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.924, allocations: 0 / 0.5918 GB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.9241, allocations: 11.97 kB / 0.5918 GB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/0.9427, allocations: 8.558 MB / 0.6002 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.9427, allocations: 0 / 0.6002 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009448/0.9437, allocations: 191.7 kB / 0.6004 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004408/0.9481, allocations: 1.424 MB / 0.6018 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/0.9484, allocations: 39.97 kB / 0.6018 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006462/0.9548, allocations: 5.707 MB / 0.6074 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001051/0.9559, allocations: 1.46 MB / 0.6088 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009368/0.9653, allocations: 5.291 MB / 0.614 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.9664, allocations: 384.7 kB / 0.6143 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007661/0.9672, allocations: 35.94 kB / 0.6144 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.9688, allocations: 119.8 kB / 0.6145 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.9691, allocations: 100.8 kB / 0.6146 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.9692, allocations: 39.98 kB / 0.6146 GB, free: 10.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004508/0.9738, allocations: 2.329 MB / 0.6169 GB, free: 8.324 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.9738, allocations: 0 / 0.6169 GB, free: 8.324 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005409/0.9792, allocations: 1.034 MB / 0.6179 GB, free: 7.293 MB / 410.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005035/0.9797, allocations: 162.1 kB / 0.6181 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009886/0.9896, allocations: 5.482 MB / 0.6234 GB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.9896, allocations: 4.188 kB / 0.6234 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003832/0.9935, allocations: 2.015 MB / 0.6254 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/0.9968, allocations: 376.9 kB / 0.6258 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.017, allocations: 11.15 MB / 0.6366 GB, free: 3.945 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004821/1.022, allocations: 3.106 MB / 0.6397 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.023, allocations: 267.4 kB / 0.6399 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/1.023, allocations: 0 / 0.6399 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of Templates: time 0.3374/1.36, allocations: 142.7 MB / 0.7793 GB, free: 41.05 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches