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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008706/0.0008706, allocations: 94.53 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.997e-05, allocations: 7.984 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.5145, allocations: 94.41 MB / 489.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5148, allocations: 91.14 kB / 489.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2004/0.7152, allocations: 80.24 MB / 0.5566 GB, free: 3.125 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7152, allocations: 0 / 0.5566 GB, free: 3.125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001709/0.7154, allocations: 87.94 kB / 0.5567 GB, free: 3.039 MB / 426.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.01656/0.732, allocations: 4.247 MB / 0.5609 GB, free: 14.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.7321, allocations: 16.03 kB / 0.5609 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.7439, allocations: 2.311 MB / 0.5631 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.7578, allocations: 3.749 MB / 0.5668 GB, free: 8.598 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.7582, allocations: 140 kB / 0.5669 GB, free: 8.461 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/0.7611, allocations: 248 kB / 0.5672 GB, free: 8.219 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01281/0.7739, allocations: 5.948 MB / 0.573 GB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3206/1.095, allocations: 9.279 MB / 0.582 GB, free: 76.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/1.095, allocations: 56.56 kB / 0.5821 GB, free: 76.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004946/1.095, allocations: 32.19 kB / 0.5821 GB, free: 76.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/1.096, allocations: 1.028 MB / 0.5831 GB, free: 76.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04474/1.141, allocations: 48.39 MB / 0.6304 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/1.144, allocations: 2.398 MB / 0.6327 GB, free: 44.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/1.146, allocations: 1.245 MB / 0.634 GB, free: 44.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007178/1.146, allocations: 0.9994 MB / 0.6349 GB, free: 43.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/1.146, allocations: 47.12 kB / 0.635 GB, free: 43.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=158): time 4.498e-06/1.146, allocations: 0 / 0.635 GB, free: 43.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=165): time 0.02032/1.167, allocations: 9.208 MB / 0.644 GB, free: 41.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/1.167, allocations: 146.7 kB / 0.6441 GB, free: 40.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005765/1.173, allocations: 2.952 MB / 0.647 GB, free: 39.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004652/1.173, allocations: 32.58 kB / 0.647 GB, free: 39.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002263/1.175, allocations: 3.16 MB / 0.6501 GB, free: 37.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.177, allocations: 0.6523 MB / 0.6507 GB, free: 36.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/1.177, allocations: 0 / 0.6507 GB, free: 36.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004517/1.177, allocations: 0.5743 MB / 0.6513 GB, free: 36.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/1.18, allocations: 1.879 MB / 0.6531 GB, free: 35.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005411/1.185, allocations: 5.891 MB / 0.6589 GB, free: 29.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005986/1.191, allocations: 3.293 MB / 0.6621 GB, free: 28.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001736/1.192, allocations: 45.31 kB / 0.6621 GB, free: 28.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=840) (initialization): time 0.01863/1.21, allocations: 7.94 MB / 0.6699 GB, free: 25.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/1.211, allocations: 68.23 kB / 0.67 GB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006075/1.217, allocations: 2.693 MB / 0.6726 GB, free: 25.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005158/1.222, allocations: 1.519 MB / 0.6741 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005003/1.227, allocations: 1.431 MB / 0.6755 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/1.232, allocations: 5.368 MB / 0.6807 GB, free: 21.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005935/1.238, allocations: 325.9 kB / 0.681 GB, free: 21.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/1.24, allocations: 400.8 kB / 0.6814 GB, free: 21 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring2.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring3.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] spring1.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real spring1.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring3.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (768): * Single equations (assignments): 758 * 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 {7 28} Notification: Performance of prepare postOptimizeDAE: time 0.002301/1.242, allocations: 476.3 kB / 0.6819 GB, free: 20.62 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006979/1.249, allocations: 3.36 MB / 0.6851 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008596/1.25, allocations: 309 kB / 0.6854 GB, free: 19.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/1.256, allocations: 2.988 MB / 0.6884 GB, free: 18.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004818/1.261, allocations: 2.575 MB / 0.6909 GB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/1.261, allocations: 3.594 kB / 0.6909 GB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/1.261, allocations: 7.031 kB / 0.6909 GB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/1.279, allocations: 8.092 MB / 0.6988 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.279, allocations: 4 kB / 0.6988 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009694/1.28, allocations: 196.9 kB / 0.699 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004243/1.285, allocations: 1.403 MB / 0.7004 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/1.285, allocations: 13.95 kB / 0.7004 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/1.29, allocations: 5.596 MB / 0.7058 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009932/1.291, allocations: 1.395 MB / 0.7072 GB, free: 25.56 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00838/1.3, allocations: 5.281 MB / 0.7123 GB, free: 23.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.301, allocations: 355.8 kB / 0.7127 GB, free: 23.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007986/1.302, allocations: 11.17 kB / 0.7127 GB, free: 23.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.304, allocations: 115.8 kB / 0.7128 GB, free: 23.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/1.304, allocations: 99.34 kB / 0.7129 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.304, allocations: 48.5 kB / 0.713 GB, free: 23.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003742/1.308, allocations: 1.923 MB / 0.7148 GB, free: 22.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.308, allocations: 0 / 0.7148 GB, free: 22.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007048/1.315, allocations: 0.9046 MB / 0.7157 GB, free: 22.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 89 * 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 {(3,100.0%),(4,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 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.00843/1.323, allocations: 5.87 MB / 0.7214 GB, free: 18.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009764/1.333, allocations: 5.111 MB / 0.7264 GB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.333, allocations: 0 / 0.7264 GB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004107/1.337, allocations: 1.983 MB / 0.7284 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.34, allocations: 288.5 kB / 0.7286 GB, free: 11.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.366, allocations: 8.57 MB / 0.737 GB, free: 4.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005269/1.372, allocations: 3.189 MB / 0.7401 GB, free: 1.738 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005518/1.377, allocations: 1.914 MB / 0.742 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2814/1.659, allocations: 1.967 MB / 0.7439 GB, free: 85.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/1.659, allocations: 0 / 0.7439 GB, free: 85.61 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/1.778, allocations: 69.55 MB / 0.8118 GB, free: 78.56 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/1.779, allocations: 159.3 kB / 0.812 GB, free: 78.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.34/6.119, allocations: 3.938 kB / 0.812 GB, free: 78.36 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat