Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 85.77 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3533/0.3533, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 12 kB / 460 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3594, allocations: 61.9 MB / 0.5096 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.501, allocations: 98.1 MB / 0.6054 GB, free: 13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.5013, allocations: 83.92 kB / 0.6055 GB, free: 12.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1275/0.6288, allocations: 48.38 MB / 0.6528 GB, free: 12.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6289, allocations: 0 / 0.6528 GB, free: 12.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.629, allocations: 40 kB / 0.6528 GB, free: 12.07 MB / 474.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.007514/0.6366, allocations: 2.408 MB / 0.6552 GB, free: 9.605 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.6366, allocations: 8.031 kB / 0.6552 GB, free: 9.598 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001891/0.6385, allocations: 0.4943 MB / 0.6556 GB, free: 9.094 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007881/0.6464, allocations: 1.763 MB / 0.6574 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004247/0.6507, allocations: 1.369 MB / 0.6587 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.6509, allocations: 184.7 kB / 0.6589 GB, free: 5.723 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.652, allocations: 235.9 kB / 0.6591 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.6661, allocations: 6.594 MB / 0.6655 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/0.6663, allocations: 39.62 kB / 0.6656 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000903/0.6672, allocations: 131.8 kB / 0.6657 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/0.6684, allocations: 0.7033 MB / 0.6664 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.6792, allocations: 5.493 MB / 0.6718 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3441/1.023, allocations: 31.81 MB / 0.7028 GB, free: 84.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/1.027, allocations: 2.358 MB / 0.7051 GB, free: 83.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.705e-05/1.028, allocations: 46.45 kB / 0.7052 GB, free: 83.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/1.028, allocations: 46.19 kB / 0.7052 GB, free: 83.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.687e-06/1.028, allocations: 0 / 0.7052 GB, free: 83.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02206/1.05, allocations: 9.736 MB / 0.7147 GB, free: 81.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/1.05, allocations: 143.8 kB / 0.7149 GB, free: 81.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/1.053, allocations: 2.36 MB / 0.7172 GB, free: 80.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/1.053, allocations: 37.83 kB / 0.7172 GB, free: 80.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/1.054, allocations: 2.037 MB / 0.7192 GB, free: 79.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/1.055, allocations: 468.3 kB / 0.7196 GB, free: 79.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.055, allocations: 85.47 kB / 0.7197 GB, free: 79.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/1.055, allocations: 0.4904 MB / 0.7202 GB, free: 79.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/1.057, allocations: 1.378 MB / 0.7215 GB, free: 78.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/1.06, allocations: 4.138 MB / 0.7256 GB, free: 74.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/1.063, allocations: 2.37 MB / 0.7279 GB, free: 73.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.054e-05/1.063, allocations: 32.28 kB / 0.7279 GB, free: 73.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.009784/1.073, allocations: 5.601 MB / 0.7334 GB, free: 72.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.048e-05/1.073, allocations: 51.56 kB / 0.7335 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/1.073, allocations: 98.25 kB / 0.7335 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/1.075, allocations: 478.3 kB / 0.734 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/1.078, allocations: 1.022 MB / 0.735 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/1.082, allocations: 3.458 MB / 0.7384 GB, free: 69.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/1.086, allocations: 236.4 kB / 0.7386 GB, free: 69.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000569/1.086, allocations: 278.9 kB / 0.7389 GB, free: 69.5 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.002667/1.089, allocations: 1.381 MB / 0.7402 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004446/1.089, allocations: 220.4 kB / 0.7404 GB, free: 68.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/1.092, allocations: 1.486 MB / 0.7419 GB, free: 68.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.092, allocations: 11.14 kB / 0.7419 GB, free: 68.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.092, allocations: 3.438 kB / 0.7419 GB, free: 68.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/1.092, allocations: 8.062 kB / 0.7419 GB, free: 68.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008491/1.101, allocations: 4.468 MB / 0.7463 GB, free: 66.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.101, allocations: 0 / 0.7463 GB, free: 66.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/1.102, allocations: 174.1 kB / 0.7464 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009082/1.103, allocations: 315.5 kB / 0.7467 GB, free: 66.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/1.103, allocations: 19.39 kB / 0.7467 GB, free: 66.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/1.106, allocations: 2.869 MB / 0.7495 GB, free: 64.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.106, allocations: 2.906 kB / 0.7496 GB, free: 64.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00392/1.109, allocations: 3.335 MB / 0.7528 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008603/1.11, allocations: 284.8 kB / 0.7531 GB, free: 62.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.111, allocations: 25.89 kB / 0.7531 GB, free: 62.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/1.111, allocations: 47.88 kB / 0.7531 GB, free: 62.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.112, allocations: 60.61 kB / 0.7532 GB, free: 62.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.112, allocations: 25.97 kB / 0.7532 GB, free: 62.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002353/1.114, allocations: 1.621 MB / 0.7548 GB, free: 62.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.114, allocations: 4 kB / 0.7548 GB, free: 62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003747/1.118, allocations: 0.6282 MB / 0.7554 GB, free: 61.92 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.004158/1.122, allocations: 4.141 MB / 0.7595 GB, free: 59.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004939/1.127, allocations: 3.331 MB / 0.7627 GB, free: 58.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.127, allocations: 0 / 0.7627 GB, free: 58.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/1.128, allocations: 0.9305 MB / 0.7636 GB, free: 58.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.129, allocations: 204.6 kB / 0.7638 GB, free: 57.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05244/1.182, allocations: 87.98 MB / 0.8497 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/1.184, allocations: 2.245 MB / 0.8519 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003616/1.188, allocations: 1.412 MB / 0.8533 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.19, allocations: 1.042 MB / 0.8543 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/1.19, allocations: 3.938 kB / 0.8543 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3099/1.5, allocations: 46.81 MB / 0.9001 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/1.5, allocations: 193.3 kB / 0.9002 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.394/4.894, allocations: 0 / 0.9002 GB, free: 146.5 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat