Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass",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.002319/0.002326, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001161/0.001161, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3094/0.3094, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.061e-05, allocations: 8 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5143/0.6407, allocations: 96.58 MB / 0.5672 GB, free: 7.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.6411, allocations: 77.38 kB / 0.5673 GB, free: 7.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2087/0.8498, allocations: 47.65 MB / 0.6138 GB, free: 13.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8498, allocations: 0 / 0.6138 GB, free: 13.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.85, allocations: 40 kB / 0.6139 GB, free: 13.51 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.008533/0.8585, allocations: 2.332 MB / 0.6161 GB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.8586, allocations: 8.031 kB / 0.6161 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001768/0.8604, allocations: 493.4 kB / 0.6166 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.8742, allocations: 1.771 MB / 0.6183 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/0.8793, allocations: 1.364 MB / 0.6197 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.8796, allocations: 184.7 kB / 0.6198 GB, free: 7.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/0.8812, allocations: 240.4 kB / 0.6201 GB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.9003, allocations: 6.548 MB / 0.6265 GB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/0.9005, allocations: 43.62 kB / 0.6265 GB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/0.9015, allocations: 123.9 kB / 0.6266 GB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001778/0.9033, allocations: 0.6955 MB / 0.6273 GB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.92, allocations: 5.42 MB / 0.6326 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04997/0.97, allocations: 31.84 MB / 0.6637 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0079/0.978, allocations: 2.332 MB / 0.666 GB, free: 7.961 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/0.9802, allocations: 0.9679 MB / 0.6669 GB, free: 6.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.9804, allocations: 43.97 kB / 0.667 GB, free: 6.938 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.79e-05/0.9805, allocations: 46.5 kB / 0.667 GB, free: 6.883 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 5.19e-06/0.9805, allocations: 3.938 kB / 0.667 GB, free: 6.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=115): time 0.04146/1.022, allocations: 8.488 MB / 0.6753 GB, free: 14.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.022, allocations: 149 kB / 0.6754 GB, free: 14.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00606/1.028, allocations: 2.334 MB / 0.6777 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000299/1.029, allocations: 41.7 kB / 0.6778 GB, free: 11.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002367/1.031, allocations: 2.035 MB / 0.6797 GB, free: 9.617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008578/1.032, allocations: 466.2 kB / 0.6802 GB, free: 9.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005646/1.032, allocations: 84 kB / 0.6803 GB, free: 9.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004427/1.033, allocations: 0.4967 MB / 0.6808 GB, free: 8.566 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/1.037, allocations: 1.344 MB / 0.6821 GB, free: 7.215 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006948/1.044, allocations: 4.122 MB / 0.6861 GB, free: 1.688 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006249/1.05, allocations: 2.364 MB / 0.6884 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-05/1.05, allocations: 28 kB / 0.6884 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01712/1.067, allocations: 5.491 MB / 0.6938 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/1.068, allocations: 52.22 kB / 0.6938 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/1.068, allocations: 96 kB / 0.6939 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/1.07, allocations: 476.5 kB / 0.6944 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006656/1.076, allocations: 1.021 MB / 0.6954 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006701/1.083, allocations: 3.384 MB / 0.6987 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/1.088, allocations: 235.5 kB / 0.6989 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.089, allocations: 272 kB / 0.6992 GB, free: 4.141 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (537): * Single equations (assignments): 533 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009906/1.09, allocations: 452.9 kB / 0.6996 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006352/1.091, allocations: 221.1 kB / 0.6998 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/1.095, allocations: 1.469 MB / 0.7012 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/1.095, allocations: 12 kB / 0.7013 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.095, allocations: 4 kB / 0.7013 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/1.095, allocations: 7.969 kB / 0.7013 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3542/1.45, allocations: 4.446 MB / 0.7056 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/1.45, allocations: 2.859 kB / 0.7056 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/1.452, allocations: 170.3 kB / 0.7058 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/1.453, allocations: 319.5 kB / 0.7061 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/1.454, allocations: 21.36 kB / 0.7061 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005291/1.459, allocations: 2.801 MB / 0.7088 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.459, allocations: 1.531 kB / 0.7088 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008496/1.467, allocations: 3.313 MB / 0.7121 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.469, allocations: 427.7 kB / 0.7125 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000726/1.47, allocations: 22.84 kB / 0.7125 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.472, allocations: 48.3 kB / 0.7125 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/1.472, allocations: 61.14 kB / 0.7126 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.472, allocations: 32.89 kB / 0.7126 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004962/1.477, allocations: 1.599 MB / 0.7142 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.132e-06/1.477, allocations: 0 / 0.7142 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005266/1.483, allocations: 0.6179 MB / 0.7148 GB, free: 142.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009132/1.492, allocations: 4.114 MB / 0.7188 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008565/1.501, allocations: 3.301 MB / 0.722 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.501, allocations: 0 / 0.722 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/1.503, allocations: 0.9179 MB / 0.7229 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.505, allocations: 195.8 kB / 0.7231 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.524, allocations: 5.734 MB / 0.7287 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003426/1.527, allocations: 2.247 MB / 0.7309 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002411/1.53, allocations: 1.072 MB / 0.732 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.683e-06/1.53, allocations: 0 / 0.732 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.763/5.293, allocations: 60.26 MB / 0.7908 GB, free: 101.3 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat