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.00155/0.00155, allocations: 181.1 kB / 16.4 MB, free: 5.723 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.138/2.138, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001139/0.001139, allocations: 97.23 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5409/0.5409, allocations: 43.55 MB / 362.7 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007299/0.00073, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1575, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5226/0.6802, allocations: 96.68 MB / 0.5732 GB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.6806, allocations: 75.97 kB / 0.5733 GB, free: 5.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2244/0.905, allocations: 47.63 MB / 0.6198 GB, free: 5.777 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.9051, allocations: 0 / 0.6198 GB, free: 5.777 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001293/0.9052, allocations: 44 kB / 0.6199 GB, free: 5.734 MB / 442.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.00928/0.9145, allocations: 2.415 MB / 0.6222 GB, free: 3.262 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.9146, allocations: 8.031 kB / 0.6222 GB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001942/0.9165, allocations: 497.6 kB / 0.6227 GB, free: 2.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.9304, allocations: 1.779 MB / 0.6244 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/0.9355, allocations: 1.361 MB / 0.6258 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.9358, allocations: 184.7 kB / 0.6259 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.9371, allocations: 235.9 kB / 0.6262 GB, free: 15.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.9553, allocations: 6.597 MB / 0.6326 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.9555, allocations: 43.59 kB / 0.6326 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000802/0.9563, allocations: 123.9 kB / 0.6328 GB, free: 7.621 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001525/0.9579, allocations: 0.6955 MB / 0.6334 GB, free: 6.926 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.9746, allocations: 5.509 MB / 0.6388 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04831/1.023, allocations: 31.82 MB / 0.6699 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3495/1.372, allocations: 2.346 MB / 0.6722 GB, free: 115.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/1.373, allocations: 43.41 kB / 0.6722 GB, free: 115.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.373, allocations: 44.66 kB / 0.6723 GB, free: 115.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 6.563e-06/1.373, allocations: 0.6094 kB / 0.6723 GB, free: 115.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.04328/1.416, allocations: 9.729 MB / 0.6818 GB, free: 113.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/1.416, allocations: 146.4 kB / 0.6819 GB, free: 113.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005869/1.422, allocations: 2.357 MB / 0.6842 GB, free: 113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000301/1.422, allocations: 45.02 kB / 0.6843 GB, free: 112.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001882/1.424, allocations: 2.03 MB / 0.6862 GB, free: 111.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007873/1.425, allocations: 473.5 kB / 0.6867 GB, free: 111.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005688/1.426, allocations: 90 kB / 0.6868 GB, free: 111.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003118/1.426, allocations: 0.4946 MB / 0.6873 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/1.43, allocations: 1.374 MB / 0.6886 GB, free: 111.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005456/1.435, allocations: 4.144 MB / 0.6926 GB, free: 107.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005486/1.441, allocations: 2.369 MB / 0.695 GB, free: 107.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/1.441, allocations: 29.72 kB / 0.695 GB, free: 107.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01554/1.457, allocations: 5.546 MB / 0.7004 GB, free: 107 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.457, allocations: 45.72 kB / 0.7004 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.457, allocations: 98.09 kB / 0.7005 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/1.459, allocations: 482.5 kB / 0.701 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00621/1.465, allocations: 1.02 MB / 0.702 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005839/1.471, allocations: 3.458 MB / 0.7054 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.476, allocations: 233.3 kB / 0.7056 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.477, allocations: 279.6 kB / 0.7059 GB, free: 104.7 MB / 490.7 MB 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 () * Number of clocked 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.003958/1.481, allocations: 1.382 MB / 0.7072 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/1.481, allocations: 222.2 kB / 0.7074 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/1.486, allocations: 1.479 MB / 0.7089 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.976e-05/1.486, allocations: 19.56 kB / 0.7089 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.486, allocations: 2.562 kB / 0.7089 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/1.486, allocations: 4.953 kB / 0.7089 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.499, allocations: 4.481 MB / 0.7133 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.499, allocations: 1.312 kB / 0.7133 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.501, allocations: 177.8 kB / 0.7134 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/1.503, allocations: 316.7 kB / 0.7137 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.503, allocations: 20.95 kB / 0.7138 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/1.508, allocations: 2.882 MB / 0.7166 GB, free: 99.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.508, allocations: 1.031 kB / 0.7166 GB, free: 99.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008094/1.516, allocations: 3.331 MB / 0.7198 GB, free: 98.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.518, allocations: 432 kB / 0.7202 GB, free: 97.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/1.518, allocations: 16.88 kB / 0.7203 GB, free: 97.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.52, allocations: 48.64 kB / 0.7203 GB, free: 97.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/1.52, allocations: 57.91 kB / 0.7204 GB, free: 97.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.52, allocations: 36.56 kB / 0.7204 GB, free: 97.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004466/1.525, allocations: 1.619 MB / 0.722 GB, free: 97.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.796e-06/1.525, allocations: 0 / 0.722 GB, free: 97.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0051/1.53, allocations: 0.6295 MB / 0.7226 GB, free: 97.05 MB / 490.7 MB 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 () * Number of clocked 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.007959/1.538, allocations: 4.139 MB / 0.7266 GB, free: 94.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007617/1.545, allocations: 3.328 MB / 0.7299 GB, free: 93.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.546, allocations: 0 / 0.7299 GB, free: 93.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/1.547, allocations: 0.9398 MB / 0.7308 GB, free: 93.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.549, allocations: 187 kB / 0.731 GB, free: 93.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05966/1.609, allocations: 88.28 MB / 0.8172 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/1.612, allocations: 2.243 MB / 0.8194 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/1.614, allocations: 1.074 MB / 0.8204 GB, free: 9.695 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/1.615, allocations: 0 / 0.8204 GB, free: 9.695 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.115/5.73, allocations: 60.41 MB / 0.8794 GB, free: 126.4 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