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.001167/0.001168, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 87.88 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.768e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1344, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5743, allocations: 95.08 MB / 497.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5746, allocations: 91.97 kB / 497.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2142/0.7888, allocations: 82.11 MB / 0.5658 GB, free: 9.508 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.7889, allocations: 0 / 0.5658 GB, free: 9.508 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000266/0.7892, allocations: 88 kB / 0.5659 GB, free: 9.422 MB / 442.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.02402/0.8132, allocations: 4.251 MB / 0.5701 GB, free: 5.113 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7e-05/0.8133, allocations: 8.031 kB / 0.5701 GB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003971/0.8173, allocations: 0.7782 MB / 0.5708 GB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.8338, allocations: 2.307 MB / 0.5731 GB, free: 2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3665/1.2, allocations: 3.736 MB / 0.5767 GB, free: 78.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004112/1.201, allocations: 325.1 kB / 0.577 GB, free: 78.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/1.203, allocations: 423.6 kB / 0.5774 GB, free: 78.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/1.228, allocations: 10.53 MB / 0.5877 GB, free: 75.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/1.228, allocations: 59.48 kB / 0.5878 GB, free: 75.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006206/1.229, allocations: 213.3 kB / 0.588 GB, free: 75.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00141/1.23, allocations: 1.027 MB / 0.589 GB, free: 75.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/1.248, allocations: 8.279 MB / 0.5971 GB, free: 75.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06033/1.308, allocations: 49.1 MB / 0.645 GB, free: 42.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/1.32, allocations: 3.954 MB / 0.6489 GB, free: 41.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002572/1.323, allocations: 1.382 MB / 0.6502 GB, free: 40.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01237/1.335, allocations: 7.673 MB / 0.6577 GB, free: 36.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/1.335, allocations: 50.72 kB / 0.6578 GB, free: 36.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 5.8e-06/1.335, allocations: 5.344 kB / 0.6578 GB, free: 36.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.02566/1.361, allocations: 10.06 MB / 0.6676 GB, free: 32.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001006/1.362, allocations: 1.581 MB / 0.6691 GB, free: 30.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005275/1.367, allocations: 3.349 MB / 0.6724 GB, free: 29.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004454/1.368, allocations: 50.52 kB / 0.6725 GB, free: 29.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/1.37, allocations: 3.117 MB / 0.6755 GB, free: 26.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008928/1.371, allocations: 0.6487 MB / 0.6761 GB, free: 26.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/1.371, allocations: 127.1 kB / 0.6763 GB, free: 26.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003189/1.371, allocations: 0.5697 MB / 0.6768 GB, free: 25.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/1.374, allocations: 1.933 MB / 0.6787 GB, free: 25.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/1.379, allocations: 5.845 MB / 0.6844 GB, free: 19.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/1.384, allocations: 3.33 MB / 0.6877 GB, free: 18.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/1.384, allocations: 46.38 kB / 0.6877 GB, free: 18.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01871/1.403, allocations: 8.609 MB / 0.6961 GB, free: 15.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003159/1.403, allocations: 70.31 kB / 0.6962 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006944/1.41, allocations: 2.754 MB / 0.6989 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005302/1.416, allocations: 1.539 MB / 0.7004 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004809/1.421, allocations: 1.376 MB / 0.7017 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/1.426, allocations: 5.501 MB / 0.7071 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005899/1.432, allocations: 438.4 kB / 0.7075 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.434, allocations: 397.6 kB / 0.7079 GB, free: 9.57 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 728 * 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 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.002343/1.436, allocations: 0.5766 MB / 0.7085 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.437, allocations: 327.7 kB / 0.7088 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007353/1.444, allocations: 3.101 MB / 0.7118 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005327/1.45, allocations: 2.659 MB / 0.7144 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/1.45, allocations: 4 kB / 0.7144 GB, free: 4.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/1.45, allocations: 7.594 kB / 0.7144 GB, free: 4.168 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.474, allocations: 8.711 MB / 0.7229 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/1.474, allocations: 4 kB / 0.7229 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.475, allocations: 189.6 kB / 0.7231 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004987/1.48, allocations: 1.427 MB / 0.7245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004338/1.48, allocations: 40.88 kB / 0.7245 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008041/1.488, allocations: 5.706 MB / 0.7301 GB, free: 7.234 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001279/1.49, allocations: 1.451 MB / 0.7315 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.501, allocations: 5.32 MB / 0.7367 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.502, allocations: 378.3 kB / 0.7371 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.503, allocations: 28 kB / 0.7371 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.506, allocations: 143.2 kB / 0.7372 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/1.506, allocations: 94.41 kB / 0.7373 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/1.506, allocations: 49.66 kB / 0.7374 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.3459/1.852, allocations: 2.667 MB / 0.74 GB, free: 84.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.852, allocations: 0.5 kB / 0.74 GB, free: 84.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006861/1.859, allocations: 1.018 MB / 0.741 GB, free: 84.35 MB / 458.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 () * 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 {(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.00924/1.869, allocations: 6.117 MB / 0.7469 GB, free: 83.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009668/1.878, allocations: 5.28 MB / 0.7521 GB, free: 82.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.878, allocations: 0 / 0.7521 GB, free: 82.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003984/1.882, allocations: 1.994 MB / 0.754 GB, free: 82.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/1.885, allocations: 357.5 kB / 0.7544 GB, free: 82.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/1.908, allocations: 8.737 MB / 0.7629 GB, free: 80.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/1.912, allocations: 3.195 MB / 0.766 GB, free: 79.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005322/1.917, allocations: 1.8 MB / 0.7678 GB, free: 79.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002885/1.92, allocations: 1.761 MB / 0.7695 GB, free: 79.71 MB / 458.7 MB Notification: Performance of SimCode: time 9.42e-07/1.92, allocations: 0.9375 kB / 0.7695 GB, free: 79.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2361/2.156, allocations: 74.01 MB / 0.8418 GB, free: 56.58 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/2.157, allocations: 202.7 kB / 0.842 GB, free: 56.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.662/6.819, allocations: 0 / 0.842 GB, free: 56.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