Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 50.53 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01123/0.2795, allocations: 10.7 MB / 419.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007193/0.2867, allocations: 3.955 MB / 423.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.288, allocations: 63.88 kB / 424 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004766/0.2928, allocations: 2.57 MB / 426.5 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.298, allocations: 1.782 MB / 428.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.2998, allocations: 0.6824 MB / 429 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00536/0.3052, allocations: 3.713 MB / 432.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004431/0.3097, allocations: 3.55 MB / 436.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.3119, allocations: 1.464 MB / 437.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.3148, allocations: 1.951 MB / 439.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008555/0.3156, allocations: 316 kB / 440 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.318, allocations: 1.143 MB / 441.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.3201, allocations: 1.819 MB / 442.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.3223, allocations: 2.124 MB / 445.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005999/0.3283, allocations: 6.635 MB / 451.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3283, allocations: 0 / 451.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3284, allocations: 0 / 451.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.647e-05/0.3284, allocations: 0 / 451.7 MB, free: 6.957 MB / 366.1 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.007204/0.3356, allocations: 4.542 MB / 456.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3357, allocations: 12.03 kB / 456.3 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006157/0.3419, allocations: 1.933 MB / 458.2 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.345, allocations: 1.997 MB / 460.2 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.3452, allocations: 242.2 kB / 460.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000739/0.346, allocations: 391.8 kB / 460.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.3604, allocations: 10.11 MB / 470.9 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.691e-05/0.3605, allocations: 43.59 kB / 471 MB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/0.3608, allocations: 155.9 kB / 471.1 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.3632, allocations: 1.86 MB / 473 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.379, allocations: 8.374 MB / 481.3 MB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04416/0.4232, allocations: 39.23 MB / 0.5084 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009778/0.433, allocations: 4.039 MB / 0.5123 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.435, allocations: 1.416 MB / 0.5137 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009818/0.4448, allocations: 7.729 MB / 0.5212 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.4449, allocations: 47.55 kB / 0.5213 GB, free: 2.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.881e-06/0.4449, allocations: 0 / 0.5213 GB, free: 2.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03081/0.4757, allocations: 12.51 MB / 0.5335 GB, free: 5.484 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00127/0.477, allocations: 1.676 MB / 0.5351 GB, free: 3.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2226/0.6996, allocations: 3.805 MB / 0.5389 GB, free: 124.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003427/0.7, allocations: 48.8 kB / 0.5389 GB, free: 124.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00277/0.7028, allocations: 3.101 MB / 0.5419 GB, free: 123.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.7039, allocations: 0.6485 MB / 0.5426 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003064/0.7069, allocations: 1.256 MB / 0.5438 GB, free: 122.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.707, allocations: 303.8 kB / 0.5441 GB, free: 121.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/0.7098, allocations: 2.054 MB / 0.5461 GB, free: 121.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003888/0.7137, allocations: 5.984 MB / 0.5519 GB, free: 115.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006653/0.7203, allocations: 8.649 MB / 0.5604 GB, free: 107.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-05/0.7204, allocations: 42.22 kB / 0.5604 GB, free: 107.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01929/0.7397, allocations: 9.847 MB / 0.57 GB, free: 102.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/0.7398, allocations: 67.94 kB / 0.5701 GB, free: 102.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009467/0.7493, allocations: 3.873 MB / 0.5739 GB, free: 98.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00989/0.7592, allocations: 2.719 MB / 0.5765 GB, free: 95.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/0.7629, allocations: 1.368 MB / 0.5779 GB, free: 94.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.7755, allocations: 11.58 MB / 0.5892 GB, free: 82.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/0.7801, allocations: 399.4 kB / 0.5896 GB, free: 82.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005717/0.7807, allocations: 394.1 kB / 0.5899 GB, free: 81.84 MB / 462.1 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 (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002764/0.7835, allocations: 2.009 MB / 0.5919 GB, free: 79.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/0.7839, allocations: 331.6 kB / 0.5922 GB, free: 79.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/0.7845, allocations: 428.4 kB / 0.5926 GB, free: 79.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004792/0.7893, allocations: 2.748 MB / 0.5953 GB, free: 76.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.7894, allocations: 4 kB / 0.5953 GB, free: 76.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.7894, allocations: 11.97 kB / 0.5953 GB, free: 76.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.8014, allocations: 8.593 MB / 0.6037 GB, free: 67.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.8014, allocations: 4.875 kB / 0.6037 GB, free: 67.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.8022, allocations: 191.7 kB / 0.6039 GB, free: 67.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00384/0.8061, allocations: 1.451 MB / 0.6053 GB, free: 65.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.8062, allocations: 31.98 kB / 0.6054 GB, free: 65.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009489/0.8157, allocations: 9.823 MB / 0.6149 GB, free: 55.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006515/0.8164, allocations: 1.547 MB / 0.6165 GB, free: 54.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007516/0.8239, allocations: 5.373 MB / 0.6217 GB, free: 48.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/0.8248, allocations: 376.7 kB / 0.6221 GB, free: 48.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.8251, allocations: 27.98 kB / 0.6221 GB, free: 48.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.8262, allocations: 123.8 kB / 0.6222 GB, free: 48.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/0.8265, allocations: 104.8 kB / 0.6223 GB, free: 47.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.8267, allocations: 47.98 kB / 0.6224 GB, free: 47.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002568/0.8292, allocations: 2.341 MB / 0.6246 GB, free: 45.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8292, allocations: 0 / 0.6246 GB, free: 45.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004421/0.8337, allocations: 1.073 MB / 0.6257 GB, free: 44.52 MB / 462.1 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 (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000351/0.834, allocations: 168.1 kB / 0.6258 GB, free: 44.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008336/0.8424, allocations: 5.791 MB / 0.6315 GB, free: 38.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.8424, allocations: 0 / 0.6315 GB, free: 38.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003559/0.846, allocations: 2.326 MB / 0.6338 GB, free: 36.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.8483, allocations: 405.1 kB / 0.6342 GB, free: 35.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.8621, allocations: 8.96 MB / 0.6429 GB, free: 26.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002493/0.8647, allocations: 3.129 MB / 0.646 GB, free: 23.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003307/0.868, allocations: 1.803 MB / 0.6477 GB, free: 21.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.8684, allocations: 219.4 kB / 0.6479 GB, free: 21.54 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8685, allocations: 0 / 0.6479 GB, free: 21.54 MB / 462.1 MB Notification: Performance of Templates: time 0.06441/0.9329, allocations: 38.98 MB / 0.686 GB, free: 14.78 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches