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.001176/0.001176, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.42/1.42, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009332/0.000933, allocations: 78.67 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.564e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09485, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/0.4022, allocations: 92.84 MB / 463 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4025, allocations: 83.44 kB / 463 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1984/0.6009, allocations: 80.31 MB / 0.5306 GB, free: 0.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.601, allocations: 0 / 0.5306 GB, free: 0.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002021/0.6012, allocations: 87.94 kB / 0.5307 GB, free: 0.8711 MB / 410.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.2244/0.8256, allocations: 4.143 MB / 0.5347 GB, free: 90.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.8256, allocations: 10.03 kB / 0.5348 GB, free: 90.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002095/0.8277, allocations: 0.7754 MB / 0.5355 GB, free: 90.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.839, allocations: 2.256 MB / 0.5377 GB, free: 90.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/0.8534, allocations: 4.401 MB / 0.542 GB, free: 89.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/0.8538, allocations: 328.6 kB / 0.5423 GB, free: 89.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/0.8557, allocations: 428.3 kB / 0.5427 GB, free: 89.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/0.8767, allocations: 10.52 MB / 0.553 GB, free: 86.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.8769, allocations: 55.91 kB / 0.5531 GB, free: 86.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006069/0.8775, allocations: 217.8 kB / 0.5533 GB, free: 86.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/0.8787, allocations: 1.032 MB / 0.5543 GB, free: 86.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.8928, allocations: 8.281 MB / 0.5624 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.9317, allocations: 49.13 MB / 0.6103 GB, free: 49.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009262/0.941, allocations: 3.941 MB / 0.6142 GB, free: 48.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.9427, allocations: 1.383 MB / 0.6155 GB, free: 47.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009199/0.9519, allocations: 7.679 MB / 0.623 GB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.952, allocations: 46.03 kB / 0.6231 GB, free: 43.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.218e-06/0.952, allocations: 3.188 kB / 0.6231 GB, free: 43.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.02157/0.9736, allocations: 10.12 MB / 0.633 GB, free: 35.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009097/0.9745, allocations: 1.593 MB / 0.6345 GB, free: 34.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/0.9786, allocations: 3.357 MB / 0.6378 GB, free: 31.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.9789, allocations: 49.7 kB / 0.6378 GB, free: 31.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.9802, allocations: 3.12 MB / 0.6409 GB, free: 28.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005129/0.9808, allocations: 0.6462 MB / 0.6415 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.981, allocations: 124 kB / 0.6416 GB, free: 27.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.9812, allocations: 0.5653 MB / 0.6422 GB, free: 27.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.9834, allocations: 1.934 MB / 0.6441 GB, free: 25.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/0.987, allocations: 5.847 MB / 0.6498 GB, free: 17.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.9904, allocations: 3.332 MB / 0.653 GB, free: 15.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.386e-05/0.9904, allocations: 40 kB / 0.6531 GB, free: 15.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01205/1.003, allocations: 8.618 MB / 0.6615 GB, free: 7.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/1.003, allocations: 68.22 kB / 0.6616 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004846/1.007, allocations: 2.753 MB / 0.6643 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004257/1.012, allocations: 1.535 MB / 0.6658 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003872/1.016, allocations: 1.377 MB / 0.6671 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004994/1.021, allocations: 5.518 MB / 0.6725 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/1.025, allocations: 427.3 kB / 0.6729 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.027, allocations: 398.7 kB / 0.6733 GB, free: 12.77 MB / 426.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.001597/1.028, allocations: 0.5825 MB / 0.6738 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007789/1.029, allocations: 323.8 kB / 0.6742 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007162/1.036, allocations: 3.109 MB / 0.6772 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005488/1.042, allocations: 2.643 MB / 0.6798 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.042, allocations: 0 / 0.6798 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/1.042, allocations: 15.92 kB / 0.6798 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2346/1.276, allocations: 8.557 MB / 0.6881 GB, free: 95.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.276, allocations: 1.031 kB / 0.6881 GB, free: 95.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009384/1.277, allocations: 190.1 kB / 0.6883 GB, free: 95.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004565/1.282, allocations: 1.433 MB / 0.6897 GB, free: 95.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/1.282, allocations: 37.25 kB / 0.6898 GB, free: 95.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/1.288, allocations: 5.695 MB / 0.6953 GB, free: 92.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001005/1.289, allocations: 1.456 MB / 0.6967 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.3, allocations: 5.313 MB / 0.7019 GB, free: 90.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.301, allocations: 383.2 kB / 0.7023 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/1.302, allocations: 28.34 kB / 0.7023 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/1.303, allocations: 146.7 kB / 0.7025 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/1.303, allocations: 92.98 kB / 0.7026 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.304, allocations: 42.23 kB / 0.7026 GB, free: 90.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003371/1.307, allocations: 2.301 MB / 0.7048 GB, free: 90.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.307, allocations: 0 / 0.7048 GB, free: 90.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003652/1.311, allocations: 1.014 MB / 0.7058 GB, free: 90.05 MB / 426.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.007249/1.318, allocations: 6.105 MB / 0.7118 GB, free: 88.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007439/1.325, allocations: 5.29 MB / 0.717 GB, free: 88.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.325, allocations: 0 / 0.717 GB, free: 88.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003263/1.329, allocations: 1.995 MB / 0.7189 GB, free: 87.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.33, allocations: 353 kB / 0.7192 GB, free: 87.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.35, allocations: 8.757 MB / 0.7278 GB, free: 86.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/1.354, allocations: 3.19 MB / 0.7309 GB, free: 84.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004169/1.358, allocations: 1.813 MB / 0.7327 GB, free: 84.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/1.36, allocations: 1.757 MB / 0.7344 GB, free: 83.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.36, allocations: 4 kB / 0.7344 GB, free: 83.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.461, allocations: 74.12 MB / 0.8068 GB, free: 29.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.461, allocations: 199 kB / 0.807 GB, free: 29.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.148/5.609, allocations: 0 / 0.807 GB, free: 29.48 MB / 426.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