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.002116/0.002116, allocations: 197.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.2 MB / 245 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 107.4 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3988/0.3988, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3587, allocations: 63.25 MB / 0.5193 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.4905, allocations: 99.16 MB / 0.6161 GB, free: 4.258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4908, allocations: 79.94 kB / 0.6162 GB, free: 4.184 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.147/0.6378, allocations: 48.53 MB / 0.6636 GB, free: 3.219 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.6379, allocations: 0 / 0.6636 GB, free: 3.219 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00013/0.638, allocations: 43.94 kB / 0.6636 GB, free: 3.176 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.008483/0.6465, allocations: 2.428 MB / 0.666 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.6466, allocations: 12.03 kB / 0.666 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001982/0.6486, allocations: 498.2 kB / 0.6665 GB, free: 184 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007972/0.6566, allocations: 1.771 MB / 0.6682 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004902/0.6615, allocations: 1.369 MB / 0.6695 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.6618, allocations: 188.7 kB / 0.6697 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.663, allocations: 235.9 kB / 0.67 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.6738, allocations: 6.588 MB / 0.6764 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.06e-05/0.674, allocations: 43.61 kB / 0.6764 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/0.6743, allocations: 127.9 kB / 0.6765 GB, free: 5.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008511/0.6752, allocations: 0.6955 MB / 0.6772 GB, free: 4.348 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2335/0.9087, allocations: 5.495 MB / 0.6826 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.9335, allocations: 31.82 MB / 0.7137 GB, free: 84.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.9376, allocations: 2.349 MB / 0.716 GB, free: 84.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.791e-05/0.9378, allocations: 49.95 kB / 0.716 GB, free: 84.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.9378, allocations: 43.34 kB / 0.716 GB, free: 84.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.118e-06/0.9378, allocations: 2.625 kB / 0.7161 GB, free: 84.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02466/0.9625, allocations: 9.733 MB / 0.7256 GB, free: 80.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.9626, allocations: 139.2 kB / 0.7257 GB, free: 80.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/0.9677, allocations: 2.363 MB / 0.728 GB, free: 79.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.9681, allocations: 46.38 kB / 0.728 GB, free: 79.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.9694, allocations: 2.033 MB / 0.73 GB, free: 78.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005048/0.9699, allocations: 467.3 kB / 0.7305 GB, free: 77.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.9701, allocations: 85.03 kB / 0.7306 GB, free: 77.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.9703, allocations: 499.3 kB / 0.731 GB, free: 77.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.9725, allocations: 1.377 MB / 0.7324 GB, free: 76.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/0.9757, allocations: 4.138 MB / 0.7364 GB, free: 72.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.9791, allocations: 2.376 MB / 0.7387 GB, free: 71.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.918e-05/0.9792, allocations: 28.44 kB / 0.7388 GB, free: 71.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.008969/0.9882, allocations: 5.604 MB / 0.7442 GB, free: 69.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/0.9883, allocations: 50 kB / 0.7443 GB, free: 69.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/0.9884, allocations: 96.97 kB / 0.7444 GB, free: 69.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.9895, allocations: 480.5 kB / 0.7448 GB, free: 69.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/0.9927, allocations: 1.018 MB / 0.7458 GB, free: 69.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.9961, allocations: 3.462 MB / 0.7492 GB, free: 67.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/0.9999, allocations: 227.8 kB / 0.7494 GB, free: 67.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006988/1.001, allocations: 282.2 kB / 0.7497 GB, free: 67.14 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.002335/1.003, allocations: 1.388 MB / 0.7511 GB, free: 66.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/1.003, allocations: 217.9 kB / 0.7513 GB, free: 66.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/1.006, allocations: 1.48 MB / 0.7527 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/1.006, allocations: 15.14 kB / 0.7527 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.006, allocations: 7.844 kB / 0.7527 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.006, allocations: 7.891 kB / 0.7527 GB, free: 65.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00805/1.014, allocations: 4.462 MB / 0.7571 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.014, allocations: 4 kB / 0.7571 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/1.015, allocations: 165.6 kB / 0.7573 GB, free: 64.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008026/1.016, allocations: 323.2 kB / 0.7576 GB, free: 63.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/1.016, allocations: 24.55 kB / 0.7576 GB, free: 63.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/1.019, allocations: 2.874 MB / 0.7604 GB, free: 62.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.019, allocations: 3.438 kB / 0.7604 GB, free: 62.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004008/1.023, allocations: 3.328 MB / 0.7636 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/1.023, allocations: 289.2 kB / 0.7639 GB, free: 60.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.024, allocations: 19.81 kB / 0.7639 GB, free: 60.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/1.024, allocations: 53.14 kB / 0.764 GB, free: 60.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.024, allocations: 60.64 kB / 0.764 GB, free: 60.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/1.025, allocations: 34.19 kB / 0.7641 GB, free: 60.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00221/1.027, allocations: 1.614 MB / 0.7657 GB, free: 59.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.027, allocations: 0 / 0.7657 GB, free: 59.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003904/1.031, allocations: 0.6256 MB / 0.7663 GB, free: 59.55 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.004591/1.035, allocations: 4.141 MB / 0.7703 GB, free: 57.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005348/1.041, allocations: 3.34 MB / 0.7736 GB, free: 55.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.041, allocations: 4 kB / 0.7736 GB, free: 55.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.042, allocations: 0.9361 MB / 0.7745 GB, free: 55.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.043, allocations: 191.8 kB / 0.7747 GB, free: 54.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05448/1.097, allocations: 88.28 MB / 0.8609 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/1.1, allocations: 2.235 MB / 0.8631 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003399/1.103, allocations: 1.411 MB / 0.8644 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/1.105, allocations: 1.048 MB / 0.8655 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/1.105, allocations: 0 / 0.8655 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3163/1.421, allocations: 46.73 MB / 0.9111 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.421, allocations: 186.3 kB / 0.9113 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/5.262, allocations: 0 / 0.9113 GB, free: 142.4 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