Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_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.001109/0.001109, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008401/0.0008401, allocations: 95.86 kB / 261.7 MB, free: 1.676 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.2076/0.2076, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.369e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5463, allocations: 95.92 MB / 0.5597 GB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5466, allocations: 74.16 kB / 0.5598 GB, free: 15.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1202/0.6668, allocations: 46.63 MB / 0.6053 GB, free: 7.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6669, allocations: 0 / 0.6053 GB, free: 7.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.642e-05/0.6669, allocations: 40 kB / 0.6053 GB, free: 7.398 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005589/0.6725, allocations: 2.325 MB / 0.6076 GB, free: 5.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.6726, allocations: 8.031 kB / 0.6076 GB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007615/0.6802, allocations: 1.767 MB / 0.6094 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003362/0.6836, allocations: 1.368 MB / 0.6107 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.534e-05/0.6837, allocations: 79.94 kB / 0.6108 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/0.6843, allocations: 139.9 kB / 0.6109 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005654/0.69, allocations: 3.734 MB / 0.6145 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.701, allocations: 6.074 MB / 0.6205 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.923e-05/0.7012, allocations: 39.62 kB / 0.6205 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003203/0.7015, allocations: 24 kB / 0.6205 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009247/0.7024, allocations: 0.7072 MB / 0.6212 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03282/0.7352, allocations: 30.47 MB / 0.651 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.738, allocations: 2.001 MB / 0.6529 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.7391, allocations: 0.9445 MB / 0.6539 GB, free: 5.453 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.7393, allocations: 43.97 kB / 0.6539 GB, free: 5.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.7393, allocations: 42.5 kB / 0.6539 GB, free: 5.359 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 6.091e-06/0.7393, allocations: 0 / 0.6539 GB, free: 5.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=117): time 0.01715/0.7565, allocations: 8.416 MB / 0.6622 GB, free: 12.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.7566, allocations: 141.1 kB / 0.6623 GB, free: 12.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.7596, allocations: 2.019 MB / 0.6643 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.7598, allocations: 25.7 kB / 0.6643 GB, free: 10.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.7611, allocations: 2.097 MB / 0.6663 GB, free: 8.441 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.7615, allocations: 466.1 kB / 0.6668 GB, free: 7.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.7617, allocations: 0 / 0.6668 GB, free: 7.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003257/0.762, allocations: 0.5399 MB / 0.6673 GB, free: 7.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.7638, allocations: 1.305 MB / 0.6686 GB, free: 6.117 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0039/0.7677, allocations: 4.191 MB / 0.6727 GB, free: 464 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/0.7711, allocations: 2.355 MB / 0.675 GB, free: 14.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.686e-05/0.7712, allocations: 28 kB / 0.675 GB, free: 14.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.008651/0.7798, allocations: 5.086 MB / 0.68 GB, free: 8.977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.7799, allocations: 52 kB / 0.68 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/0.7801, allocations: 104 kB / 0.6801 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.7811, allocations: 472.9 kB / 0.6806 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/0.7844, allocations: 1.072 MB / 0.6816 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/0.7884, allocations: 3.157 MB / 0.6847 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.7916, allocations: 159.6 kB / 0.6849 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/0.7921, allocations: 288 kB / 0.6851 GB, free: 3.574 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * 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 (563): * Single equations (assignments): 559 * 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.0005719/0.7927, allocations: 356.6 kB / 0.6855 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002911/0.7956, allocations: 1.844 MB / 0.6873 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.7959, allocations: 205.3 kB / 0.6875 GB, free: 1.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.7984, allocations: 1.409 MB / 0.6888 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.7984, allocations: 16 kB / 0.6889 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.7985, allocations: 4 kB / 0.6889 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.7985, allocations: 3.984 kB / 0.6889 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007802/0.8063, allocations: 4.001 MB / 0.6928 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.8063, allocations: 4 kB / 0.6928 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/0.8073, allocations: 171.7 kB / 0.6929 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008621/0.8081, allocations: 304.6 kB / 0.6932 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/0.8082, allocations: 7.938 kB / 0.6932 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.8112, allocations: 2.615 MB / 0.6958 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8113, allocations: 0 / 0.6958 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0046/0.8159, allocations: 3.238 MB / 0.699 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.8169, allocations: 414.2 kB / 0.6994 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.8171, allocations: 11.98 kB / 0.6994 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.8179, allocations: 31.94 kB / 0.6994 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.818, allocations: 68.41 kB / 0.6995 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/0.8181, allocations: 28 kB / 0.6995 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002233/0.8204, allocations: 1.314 MB / 0.7008 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8204, allocations: 0 / 0.7008 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003534/0.8239, allocations: 0.5273 MB / 0.7013 GB, free: 2.723 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 (88): * Single equations (assignments): 84 * 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.3311/1.155, allocations: 4.039 MB / 0.7052 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006653/1.162, allocations: 3.154 MB / 0.7083 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.162, allocations: 2.219 kB / 0.7083 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/1.163, allocations: 0.9022 MB / 0.7092 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.164, allocations: 147.5 kB / 0.7093 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/1.18, allocations: 5.289 MB / 0.7145 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00358/1.184, allocations: 2.246 MB / 0.7167 GB, free: 147 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004609/1.189, allocations: 1.468 MB / 0.7181 GB, free: 147 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/1.191, allocations: 1.046 MB / 0.7191 GB, free: 147 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/1.191, allocations: 0 / 0.7191 GB, free: 147 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08465/1.275, allocations: 43.57 MB / 0.7617 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.275, allocations: 131.6 kB / 0.7618 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/4.709, allocations: 0 / 0.7618 GB, free: 132.3 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat