Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 91.25 kB / 297.2 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002559, allocations: 8 kB / 358 MB, free: 9.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2452, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3651, allocations: 101.9 MB / 0.4994 GB, free: 4.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.3654, allocations: 92.64 kB / 0.4995 GB, free: 4.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3646/0.73, allocations: 77.32 MB / 0.575 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.73, allocations: 4 kB / 0.575 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001237/0.7302, allocations: 72 kB / 0.5751 GB, free: 35.55 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.006311/0.7365, allocations: 3.68 MB / 0.5787 GB, free: 31.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7365, allocations: 8.031 kB / 0.5787 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007532/0.7373, allocations: 0.6763 MB / 0.5794 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007641/0.7449, allocations: 2.276 MB / 0.5816 GB, free: 28.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007181/0.7521, allocations: 3.281 MB / 0.5848 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.7523, allocations: 279.3 kB / 0.5851 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006055/0.7529, allocations: 371.8 kB / 0.5854 GB, free: 24.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.7699, allocations: 10.49 MB / 0.5957 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.77, allocations: 51.56 kB / 0.5957 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004771/0.7705, allocations: 179.9 kB / 0.5959 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001112/0.7716, allocations: 1.005 MB / 0.5969 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.7867, allocations: 8.754 MB / 0.6054 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04546/0.8322, allocations: 44.73 MB / 0.6491 GB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009146/0.8413, allocations: 3.874 MB / 0.6529 GB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.8532, allocations: 7.633 MB / 0.6603 GB, free: 9.285 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.8533, allocations: 47.56 kB / 0.6604 GB, free: 9.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 3.687e-06/0.8533, allocations: 0 / 0.6604 GB, free: 9.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=166): time 0.2662/1.12, allocations: 17.33 MB / 0.6773 GB, free: 108.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.12, allocations: 149.5 kB / 0.6774 GB, free: 108.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/1.123, allocations: 3.1 MB / 0.6805 GB, free: 107.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/1.124, allocations: 49.39 kB / 0.6805 GB, free: 107.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.125, allocations: 2.743 MB / 0.6832 GB, free: 106.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/1.125, allocations: 0.6423 MB / 0.6838 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.126, allocations: 112.2 kB / 0.6839 GB, free: 106.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/1.126, allocations: 0.5315 MB / 0.6845 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/1.128, allocations: 1.942 MB / 0.6863 GB, free: 105.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/1.132, allocations: 5.327 MB / 0.6916 GB, free: 101.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/1.136, allocations: 3.132 MB / 0.6946 GB, free: 101.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.869e-05/1.136, allocations: 34.38 kB / 0.6946 GB, free: 101.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01251/1.148, allocations: 8.139 MB / 0.7026 GB, free: 100 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/1.148, allocations: 55.12 kB / 0.7026 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.072e-05/1.148, allocations: 122.4 kB / 0.7028 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/1.152, allocations: 1.306 MB / 0.704 GB, free: 99.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/1.155, allocations: 1.265 MB / 0.7053 GB, free: 99.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007251/1.162, allocations: 6.298 MB / 0.7114 GB, free: 96.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/1.167, allocations: 340.3 kB / 0.7117 GB, free: 96.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007287/1.167, allocations: 341.5 kB / 0.7121 GB, free: 96.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[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 (679): * Single equations (assignments): 675 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002529/1.17, allocations: 1.804 MB / 0.7138 GB, free: 95.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004956/1.17, allocations: 305.3 kB / 0.7141 GB, free: 95.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00607/1.177, allocations: 3.352 MB / 0.7174 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/1.177, allocations: 26.38 kB / 0.7174 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.177, allocations: 6.156 kB / 0.7174 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.177, allocations: 7.312 kB / 0.7174 GB, free: 94.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.19, allocations: 7.597 MB / 0.7249 GB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/1.19, allocations: 0 / 0.7249 GB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/1.191, allocations: 240.5 kB / 0.7251 GB, free: 91.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/1.194, allocations: 1.114 MB / 0.7262 GB, free: 91.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/1.194, allocations: 31.16 kB / 0.7262 GB, free: 91.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006843/1.201, allocations: 5.934 MB / 0.732 GB, free: 86.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.201, allocations: 0 / 0.732 GB, free: 86.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007896/1.209, allocations: 5.732 MB / 0.7376 GB, free: 82.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009014/1.21, allocations: 362.5 kB / 0.7379 GB, free: 81.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003349/1.21, allocations: 31.05 kB / 0.738 GB, free: 81.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.212, allocations: 109.3 kB / 0.7381 GB, free: 81.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/1.212, allocations: 92.48 kB / 0.7382 GB, free: 81.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.212, allocations: 40 kB / 0.7382 GB, free: 81.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002759/1.215, allocations: 2.155 MB / 0.7403 GB, free: 79.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.215, allocations: 0 / 0.7403 GB, free: 79.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003731/1.219, allocations: 0.9279 MB / 0.7412 GB, free: 78.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007967/1.227, allocations: 6.572 MB / 0.7476 GB, free: 73.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006537/1.233, allocations: 4.749 MB / 0.7523 GB, free: 69.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.233, allocations: 0 / 0.7523 GB, free: 69.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/1.235, allocations: 1.529 MB / 0.7538 GB, free: 67.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/1.237, allocations: 333.8 kB / 0.7541 GB, free: 67.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2468/1.484, allocations: 112.7 MB / 0.8642 GB, free: 97.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/1.486, allocations: 2.924 MB / 0.867 GB, free: 96.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003989/1.49, allocations: 1.701 MB / 0.8687 GB, free: 96.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.492, allocations: 1.594 MB / 0.8702 GB, free: 96.59 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/1.492, allocations: 0 / 0.8702 GB, free: 96.59 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08792/1.58, allocations: 67.6 MB / 0.9363 GB, free: 54.96 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/1.58, allocations: 232.5 kB / 0.9365 GB, free: 54.72 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/5.458, allocations: 4 kB / 0.9365 GB, free: 54.71 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat does not exist to compare? outputFormat=mat