Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",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.0009969/0.0009969, allocations: 181.4 kB / 17.01 MB, free: 5.121 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.359/1.359, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008003/0.0008003, allocations: 97.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2135, allocations: 47.57 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3212, allocations: 97.76 MB / 473.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.3215, allocations: 91.95 kB / 473.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3267/0.6483, allocations: 73.17 MB / 0.5341 GB, free: 83.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6483, allocations: 0 / 0.5341 GB, free: 83.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001041/0.6484, allocations: 64 kB / 0.5342 GB, free: 83.3 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005492/0.6539, allocations: 3.622 MB / 0.5377 GB, free: 79.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.654, allocations: 8.031 kB / 0.5377 GB, free: 79.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000651/0.6547, allocations: 0.651 MB / 0.5384 GB, free: 78.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007078/0.6617, allocations: 2.085 MB / 0.5404 GB, free: 76.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00768/0.6694, allocations: 4.073 MB / 0.5444 GB, free: 72.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.6696, allocations: 262.9 kB / 0.5446 GB, free: 72.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004623/0.67, allocations: 351.8 kB / 0.545 GB, free: 72.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.6804, allocations: 8.986 MB / 0.5537 GB, free: 62.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.658e-05/0.6805, allocations: 59.45 kB / 0.5538 GB, free: 62.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003606/0.6809, allocations: 175.9 kB / 0.554 GB, free: 61.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008438/0.6817, allocations: 0.8878 MB / 0.5548 GB, free: 61.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009167/0.6909, allocations: 7.269 MB / 0.5619 GB, free: 53.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03457/0.7255, allocations: 42.97 MB / 0.6039 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006479/0.732, allocations: 3.298 MB / 0.6071 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006543/0.7386, allocations: 4.436 MB / 0.6114 GB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.7386, allocations: 51.02 kB / 0.6115 GB, free: 1.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 4.308e-06/0.7387, allocations: 11.92 kB / 0.6115 GB, free: 1.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.02824/0.7669, allocations: 11.66 MB / 0.6229 GB, free: 5.336 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.767, allocations: 145.1 kB / 0.623 GB, free: 5.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006746/0.7738, allocations: 3.33 MB / 0.6263 GB, free: 1.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.7739, allocations: 41.7 kB / 0.6263 GB, free: 1.797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003332/0.7773, allocations: 2.752 MB / 0.629 GB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009091/0.7782, allocations: 0.5209 MB / 0.6295 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.7787, allocations: 108 kB / 0.6296 GB, free: 14.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005144/0.7792, allocations: 0.5368 MB / 0.6301 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/0.7824, allocations: 1.673 MB / 0.6318 GB, free: 12.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005909/0.7884, allocations: 5.098 MB / 0.6367 GB, free: 5.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.7928, allocations: 2.869 MB / 0.6396 GB, free: 2.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.7929, allocations: 36 kB / 0.6396 GB, free: 2.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.1901/0.983, allocations: 6.66 MB / 0.6461 GB, free: 101.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.9832, allocations: 61.91 kB / 0.6461 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/0.9834, allocations: 126.2 kB / 0.6463 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.9839, allocations: 334.5 kB / 0.6466 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/0.9878, allocations: 1.288 MB / 0.6478 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.9899, allocations: 2.326 MB / 0.6501 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/0.9938, allocations: 286.3 kB / 0.6504 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006564/0.9945, allocations: 336.9 kB / 0.6507 GB, free: 100.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (666): * Single equations (assignments): 662 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003246/0.9977, allocations: 1.79 MB / 0.6525 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/0.9984, allocations: 313.2 kB / 0.6528 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/1.002, allocations: 2.364 MB / 0.6551 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/1.002, allocations: 16.16 kB / 0.6551 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.002, allocations: 5.156 kB / 0.6551 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.002, allocations: 7.406 kB / 0.6551 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009126/1.011, allocations: 5.949 MB / 0.6609 GB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.011, allocations: 0 / 0.6609 GB, free: 99.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/1.012, allocations: 173.7 kB / 0.6611 GB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/1.014, allocations: 0.7139 MB / 0.6618 GB, free: 99.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.825e-05/1.014, allocations: 20.22 kB / 0.6618 GB, free: 99.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004478/1.019, allocations: 4.56 MB / 0.6662 GB, free: 97.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.019, allocations: 0 / 0.6662 GB, free: 97.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/1.024, allocations: 4.454 MB / 0.6706 GB, free: 96.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.025, allocations: 0.5393 MB / 0.6711 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005921/1.026, allocations: 19.28 kB / 0.6711 GB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.027, allocations: 74.34 kB / 0.6712 GB, free: 95.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.027, allocations: 67.8 kB / 0.6713 GB, free: 95.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/1.027, allocations: 39.42 kB / 0.6713 GB, free: 95.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003489/1.031, allocations: 2.324 MB / 0.6736 GB, free: 94.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.031, allocations: 0 / 0.6736 GB, free: 94.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004348/1.035, allocations: 0.8293 MB / 0.6744 GB, free: 94.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005821/1.041, allocations: 5.363 MB / 0.6796 GB, free: 92.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005263/1.046, allocations: 4.001 MB / 0.6835 GB, free: 90.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.046, allocations: 2.875 kB / 0.6835 GB, free: 90.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/1.048, allocations: 1.105 MB / 0.6846 GB, free: 90.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.05, allocations: 366.1 kB / 0.685 GB, free: 90.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03506/1.085, allocations: 99.62 MB / 0.7822 GB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/1.089, allocations: 2.856 MB / 0.785 GB, free: 3.012 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004186/1.093, allocations: 1.658 MB / 0.7867 GB, free: 1.973 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/1.096, allocations: 1.535 MB / 0.7882 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/1.096, allocations: 0 / 0.7882 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2522/1.348, allocations: 64.45 MB / 0.8511 GB, free: 118.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/1.348, allocations: 229.1 kB / 0.8513 GB, free: 118.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.509/4.857, allocations: 0 / 0.8513 GB, free: 118.3 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat