Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 180 kB / 17.01 MB, free: 5.125 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.315/1.315, allocations: 205.4 MB / 223.1 MB, free: 9.102 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.0009504/0.0009504, allocations: 95.03 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.0002601, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 47.58 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3187, allocations: 92.93 MB / 468.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.319, allocations: 91.94 kB / 468.9 MB, free: 3.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3505/0.6695, allocations: 80.25 MB / 0.5363 GB, free: 80.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6695, allocations: 0 / 0.5363 GB, free: 80.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001856/0.6697, allocations: 83.92 kB / 0.5364 GB, free: 80.33 MB / 378.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.01473/0.6844, allocations: 4.341 MB / 0.5406 GB, free: 75.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6845, allocations: 12.03 kB / 0.5406 GB, free: 75.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002225/0.6867, allocations: 0.7704 MB / 0.5414 GB, free: 75.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009163/0.6959, allocations: 2.252 MB / 0.5436 GB, free: 72.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.707, allocations: 4.417 MB / 0.5479 GB, free: 68.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.7073, allocations: 332.5 kB / 0.5482 GB, free: 68.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.7088, allocations: 431.9 kB / 0.5486 GB, free: 67.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.7257, allocations: 10.62 MB / 0.559 GB, free: 55.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.7258, allocations: 55.5 kB / 0.5591 GB, free: 55.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005482/0.7264, allocations: 211.9 kB / 0.5593 GB, free: 55.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001083/0.7274, allocations: 1.033 MB / 0.5603 GB, free: 54.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.7415, allocations: 8.462 MB / 0.5685 GB, free: 46.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04045/0.782, allocations: 49.13 MB / 0.6165 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009356/0.7913, allocations: 3.956 MB / 0.6204 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.8018, allocations: 7.697 MB / 0.6279 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.8019, allocations: 47.56 kB / 0.6279 GB, free: 15.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 5.36e-06/0.8019, allocations: 0 / 0.6279 GB, free: 15.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.0303/0.8322, allocations: 12.5 MB / 0.6401 GB, free: 2.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001303/0.8335, allocations: 1.601 MB / 0.6417 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1728/1.006, allocations: 3.422 MB / 0.6451 GB, free: 104.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/1.007, allocations: 52.95 kB / 0.6451 GB, free: 104.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.008, allocations: 3.113 MB / 0.6481 GB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006228/1.009, allocations: 0.6468 MB / 0.6488 GB, free: 102.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.009, allocations: 129 kB / 0.6489 GB, free: 102.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002818/1.009, allocations: 0.5665 MB / 0.6495 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/1.012, allocations: 2.002 MB / 0.6514 GB, free: 102.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004501/1.016, allocations: 5.92 MB / 0.6572 GB, free: 97.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004344/1.021, allocations: 3.36 MB / 0.6605 GB, free: 97.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.113e-05/1.021, allocations: 41.97 kB / 0.6605 GB, free: 97.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01247/1.033, allocations: 8.774 MB / 0.6691 GB, free: 95.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/1.033, allocations: 62.53 kB / 0.6691 GB, free: 95.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00534/1.039, allocations: 2.782 MB / 0.6719 GB, free: 94.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004595/1.043, allocations: 1.53 MB / 0.6733 GB, free: 94.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/1.048, allocations: 1.379 MB / 0.6747 GB, free: 94.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/1.053, allocations: 5.589 MB / 0.6802 GB, free: 90.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/1.057, allocations: 434.4 kB / 0.6806 GB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004432/1.058, allocations: 390.7 kB / 0.6809 GB, free: 90.29 MB / 410.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 (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.002933/1.06, allocations: 2.012 MB / 0.6829 GB, free: 89.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/1.061, allocations: 333.2 kB / 0.6832 GB, free: 89.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00581/1.067, allocations: 3.115 MB / 0.6863 GB, free: 88.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004738/1.072, allocations: 2.666 MB / 0.6889 GB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.072, allocations: 3.344 kB / 0.6889 GB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.072, allocations: 6.938 kB / 0.6889 GB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/1.085, allocations: 8.578 MB / 0.6973 GB, free: 81.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.085, allocations: 0 / 0.6973 GB, free: 81.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/1.086, allocations: 196.4 kB / 0.6974 GB, free: 81.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004034/1.09, allocations: 1.429 MB / 0.6988 GB, free: 80.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/1.09, allocations: 42.19 kB / 0.6989 GB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/1.095, allocations: 5.8 MB / 0.7045 GB, free: 75.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006005/1.095, allocations: 1.458 MB / 0.706 GB, free: 73.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007269/1.103, allocations: 5.356 MB / 0.7112 GB, free: 69.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.104, allocations: 389.5 kB / 0.7116 GB, free: 68.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/1.104, allocations: 30.39 kB / 0.7116 GB, free: 68.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.106, allocations: 138.7 kB / 0.7117 GB, free: 68.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.106, allocations: 94.31 kB / 0.7118 GB, free: 68.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.106, allocations: 48.83 kB / 0.7119 GB, free: 68.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003008/1.109, allocations: 2.356 MB / 0.7142 GB, free: 66.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.109, allocations: 0 / 0.7142 GB, free: 66.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004573/1.114, allocations: 1.015 MB / 0.7152 GB, free: 65.6 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 {(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.007409/1.121, allocations: 6.157 MB / 0.7212 GB, free: 60.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007691/1.129, allocations: 5.374 MB / 0.7264 GB, free: 55.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.129, allocations: 0 / 0.7264 GB, free: 55.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/1.132, allocations: 2.02 MB / 0.7284 GB, free: 53.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.134, allocations: 360 kB / 0.7287 GB, free: 53.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2374/1.371, allocations: 128.9 MB / 0.8547 GB, free: 92.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002584/1.374, allocations: 3.199 MB / 0.8578 GB, free: 91.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003812/1.377, allocations: 1.81 MB / 0.8595 GB, free: 91.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.379, allocations: 1.759 MB / 0.8613 GB, free: 91.6 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/1.379, allocations: 3.938 kB / 0.8613 GB, free: 91.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08873/1.468, allocations: 73.86 MB / 0.9334 GB, free: 36.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/1.468, allocations: 230.1 kB / 0.9336 GB, free: 35.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/5.185, allocations: 4 kB / 0.9336 GB, free: 35.91 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat