Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 196.1 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007644/0.0007645, allocations: 96.25 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.461e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.4755, allocations: 98.42 MB / 0.6006 GB, free: 3.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4758, allocations: 73.16 kB / 0.6006 GB, free: 3.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1179/0.5937, allocations: 47.53 MB / 0.6471 GB, free: 11.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5938, allocations: 0 / 0.6471 GB, free: 11.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.889e-05/0.5939, allocations: 40 kB / 0.6471 GB, free: 11.17 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.004495/0.5984, allocations: 2.354 MB / 0.6494 GB, free: 8.953 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5984, allocations: 12.03 kB / 0.6494 GB, free: 8.941 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007086/0.6055, allocations: 1.77 MB / 0.6511 GB, free: 7.168 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.6083, allocations: 1.363 MB / 0.6525 GB, free: 6.031 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.6084, allocations: 83.98 kB / 0.6525 GB, free: 5.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003819/0.6088, allocations: 143.4 kB / 0.6527 GB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005321/0.6141, allocations: 3.721 MB / 0.6563 GB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008084/0.6222, allocations: 6.076 MB / 0.6623 GB, free: 12.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.457e-05/0.6224, allocations: 35.69 kB / 0.6623 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.6227, allocations: 27.95 kB / 0.6623 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008269/0.6235, allocations: 0.7032 MB / 0.663 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02884/0.6523, allocations: 30.46 MB / 0.6927 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.6549, allocations: 1.998 MB / 0.6947 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.6561, allocations: 0.9445 MB / 0.6956 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.6562, allocations: 48.36 kB / 0.6957 GB, free: 9.113 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.6562, allocations: 42.5 kB / 0.6957 GB, free: 9.062 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 5.33e-06/0.6563, allocations: 4 kB / 0.6957 GB, free: 9.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=117): time 0.01661/0.6729, allocations: 8.4 MB / 0.7039 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.673, allocations: 141 kB / 0.704 GB, free: 368 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.6761, allocations: 2.023 MB / 0.706 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6762, allocations: 25.7 kB / 0.706 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.6776, allocations: 2.089 MB / 0.7081 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/0.6781, allocations: 466.1 kB / 0.7085 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.6782, allocations: 0 / 0.7085 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003291/0.6786, allocations: 0.536 MB / 0.7091 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.6804, allocations: 1.305 MB / 0.7103 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003727/0.6841, allocations: 4.194 MB / 0.7144 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.6873, allocations: 2.355 MB / 0.7167 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.477e-05/0.6874, allocations: 28 kB / 0.7168 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.008445/0.6958, allocations: 5.088 MB / 0.7217 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.777e-05/0.6959, allocations: 52.09 kB / 0.7218 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.6961, allocations: 107.9 kB / 0.7219 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.6971, allocations: 473.3 kB / 0.7223 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.7003, allocations: 1.072 MB / 0.7234 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.7039, allocations: 3.157 MB / 0.7265 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.7067, allocations: 159.5 kB / 0.7266 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000562/0.7072, allocations: 288 kB / 0.7269 GB, free: 7.285 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.0005341/0.7078, allocations: 352.7 kB / 0.7272 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002907/0.7107, allocations: 1.849 MB / 0.729 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.711, allocations: 209.3 kB / 0.7292 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.7135, allocations: 1.409 MB / 0.7306 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.7135, allocations: 16 kB / 0.7306 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7135, allocations: 0 / 0.7306 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.7135, allocations: 7.984 kB / 0.7306 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007085/0.7206, allocations: 4.009 MB / 0.7345 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.7207, allocations: 4 kB / 0.7345 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/0.7216, allocations: 171.7 kB / 0.7347 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008275/0.7225, allocations: 304.6 kB / 0.735 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.7226, allocations: 4 kB / 0.735 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.7254, allocations: 2.63 MB / 0.7376 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.7254, allocations: 0 / 0.7376 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.7298, allocations: 3.239 MB / 0.7407 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006736/0.7305, allocations: 258.3 kB / 0.741 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.7308, allocations: 4 kB / 0.741 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/0.7316, allocations: 31.94 kB / 0.741 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.7317, allocations: 64.36 kB / 0.7411 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/0.7318, allocations: 35.98 kB / 0.7411 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002264/0.7341, allocations: 1.31 MB / 0.7424 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7341, allocations: 8 kB / 0.7424 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003696/0.7378, allocations: 0.5234 MB / 0.7429 GB, free: 6.574 MB / 0.5261 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.005382/0.7432, allocations: 4.048 MB / 0.7469 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2691/1.012, allocations: 3.147 MB / 0.7499 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.012, allocations: 1.094 kB / 0.7499 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/1.014, allocations: 0.9084 MB / 0.7508 GB, free: 162 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/1.015, allocations: 143.8 kB / 0.751 GB, free: 162 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/1.03, allocations: 5.3 MB / 0.7561 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/1.032, allocations: 2.241 MB / 0.7583 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004505/1.037, allocations: 1.463 MB / 0.7598 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/1.039, allocations: 1.043 MB / 0.7608 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/1.039, allocations: 0 / 0.7608 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07853/1.118, allocations: 43.61 MB / 0.8034 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.118, allocations: 135.8 kB / 0.8035 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.281/4.399, allocations: 0 / 0.8035 GB, free: 147.6 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat