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.001411/0.001411, allocations: 169.9 kB / 8.74 MB, free: 340 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009064/0.0009064, allocations: 96.55 kB / 281.6 MB, free: 5.328 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.2052/0.2052, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.397e-05/2.398e-05, allocations: 8.156 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 61.9 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5509, allocations: 97.36 MB / 0.5898 GB, free: 14.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.5512, allocations: 83.94 kB / 0.5899 GB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1272/0.6784, allocations: 47.39 MB / 0.6362 GB, free: 15.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6784, allocations: 0 / 0.6362 GB, free: 15.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.065e-05/0.6785, allocations: 40 kB / 0.6362 GB, free: 15.03 MB / 458.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.005402/0.6839, allocations: 2.326 MB / 0.6385 GB, free: 12.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.684, allocations: 11.98 kB / 0.6385 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007792/0.6918, allocations: 1.771 MB / 0.6403 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.6958, allocations: 1.364 MB / 0.6416 GB, free: 9.445 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.696, allocations: 76 kB / 0.6417 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009746/0.6969, allocations: 143.9 kB / 0.6418 GB, free: 9.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007075/0.704, allocations: 3.729 MB / 0.6454 GB, free: 5.496 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.7143, allocations: 6.072 MB / 0.6514 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-05/0.7145, allocations: 35.69 kB / 0.6514 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.7148, allocations: 24 kB / 0.6514 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009738/0.7158, allocations: 0.7033 MB / 0.6521 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03297/0.7488, allocations: 30.47 MB / 0.6819 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.7516, allocations: 2.007 MB / 0.6838 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.7529, allocations: 0.9489 MB / 0.6847 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.753, allocations: 51.7 kB / 0.6848 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.753, allocations: 46.5 kB / 0.6848 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 2.985e-06/0.7531, allocations: 0 / 0.6848 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=117): time 0.01784/0.7709, allocations: 8.394 MB / 0.693 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.7711, allocations: 145 kB / 0.6932 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/0.7742, allocations: 2.015 MB / 0.6951 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.7744, allocations: 29.7 kB / 0.6952 GB, free: 472 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.776, allocations: 2.089 MB / 0.6972 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000509/0.7765, allocations: 466.1 kB / 0.6977 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.7767, allocations: 0 / 0.6977 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003734/0.7771, allocations: 0.5322 MB / 0.6982 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.7789, allocations: 1.305 MB / 0.6995 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/0.783, allocations: 4.194 MB / 0.7035 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.7866, allocations: 2.355 MB / 0.7058 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-05/0.7867, allocations: 32 kB / 0.7059 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.3004/1.087, allocations: 5.081 MB / 0.7108 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.087, allocations: 49.98 kB / 0.7109 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/1.088, allocations: 104.8 kB / 0.711 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.089, allocations: 471.2 kB / 0.7114 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004396/1.093, allocations: 1.069 MB / 0.7125 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004616/1.098, allocations: 3.154 MB / 0.7156 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.102, allocations: 151.1 kB / 0.7157 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.103, allocations: 293 kB / 0.716 GB, free: 147.4 MB / 0.5105 GB 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.0007199/1.104, allocations: 362.8 kB / 0.7163 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00325/1.107, allocations: 1.844 MB / 0.7181 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/1.107, allocations: 208.8 kB / 0.7183 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/1.11, allocations: 1.414 MB / 0.7197 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.11, allocations: 16.56 kB / 0.7197 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.11, allocations: 2.734 kB / 0.7197 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/1.11, allocations: 5.391 kB / 0.7197 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00816/1.118, allocations: 4.009 MB / 0.7236 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.118, allocations: 2.672 kB / 0.7237 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/1.119, allocations: 169.7 kB / 0.7238 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009004/1.12, allocations: 306.2 kB / 0.7241 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.12, allocations: 8.875 kB / 0.7241 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/1.123, allocations: 2.613 MB / 0.7267 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.123, allocations: 4.578 kB / 0.7267 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/1.128, allocations: 3.242 MB / 0.7298 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/1.129, allocations: 258.8 kB / 0.7301 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/1.129, allocations: 6.594 kB / 0.7301 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008127/1.13, allocations: 38.22 kB / 0.7301 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.13, allocations: 58.61 kB / 0.7302 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/1.13, allocations: 34.22 kB / 0.7302 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002673/1.133, allocations: 1.315 MB / 0.7315 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.133, allocations: 0 / 0.7315 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004651/1.138, allocations: 0.5292 MB / 0.732 GB, free: 144.7 MB / 0.5105 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.004436/1.142, allocations: 4.048 MB / 0.736 GB, free: 143 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005953/1.148, allocations: 3.156 MB / 0.739 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.148, allocations: 2.781 kB / 0.7391 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.15, allocations: 0.9076 MB / 0.7399 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/1.151, allocations: 151 kB / 0.7401 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.163, allocations: 5.285 MB / 0.7452 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/1.165, allocations: 2.246 MB / 0.7474 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003325/1.169, allocations: 1.463 MB / 0.7489 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/1.17, allocations: 1.046 MB / 0.7499 GB, free: 138 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/1.17, allocations: 5.938 kB / 0.7499 GB, free: 138 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07308/1.243, allocations: 43.6 MB / 0.7925 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001209/1.243, allocations: 137 kB / 0.7926 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.295/4.538, allocations: 0 / 0.7926 GB, free: 112.1 MB / 0.5105 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