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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008969/0.0008969, allocations: 93.73 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008749/0.000875, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1962/0.1962, allocations: 45.93 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 11.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 63.47 MB / 481.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01822/0.1526, allocations: 15.55 MB / 497.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.1635, allocations: 3.892 MB / 0.4893 GB, free: 1.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.1663, allocations: 67.81 kB / 0.4894 GB, free: 1.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.1683, allocations: 0.7776 MB / 0.4902 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.1742, allocations: 2.226 MB / 0.4923 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1753, allocations: 247.5 kB / 0.4926 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.1785, allocations: 2.165 MB / 0.4947 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.1809, allocations: 1.527 MB / 0.4962 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.1821, allocations: 0.6576 MB / 0.4968 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.1837, allocations: 0.9773 MB / 0.4978 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.1839, allocations: 72 kB / 0.4978 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.1851, allocations: 0.6006 MB / 0.4984 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.1864, allocations: 0.8686 MB / 0.4993 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.1869, allocations: 484.1 kB / 0.4997 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.1902, allocations: 2.806 MB / 0.5025 GB, free: 4.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1902, allocations: 4 kB / 0.5025 GB, free: 4.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.1902, allocations: 0 / 0.5025 GB, free: 4.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.432e-05/0.1903, allocations: 0 / 0.5025 GB, free: 4.25 MB / 382.1 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.004254/0.1945, allocations: 2.236 MB / 0.5047 GB, free: 1.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1946, allocations: 8.031 kB / 0.5047 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000505/0.1951, allocations: 462.1 kB / 0.5051 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2379/0.4331, allocations: 1.609 MB / 0.5067 GB, free: 19.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.4357, allocations: 1.049 MB / 0.5077 GB, free: 18.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.4358, allocations: 119.6 kB / 0.5078 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004706/0.4363, allocations: 156.9 kB / 0.508 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009547/0.4459, allocations: 6.171 MB / 0.514 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-05/0.446, allocations: 31.44 kB / 0.514 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.4462, allocations: 77.25 kB / 0.5141 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002406/0.4486, allocations: 1.439 MB / 0.5155 GB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.4594, allocations: 5.362 MB / 0.5207 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02521/0.4847, allocations: 24.87 MB / 0.545 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003755/0.4885, allocations: 2.342 MB / 0.5473 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.4896, allocations: 0.9908 MB / 0.5483 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003689/0.49, allocations: 323.3 kB / 0.5486 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.49, allocations: 52.7 kB / 0.5486 GB, free: 15.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.905e-06/0.49, allocations: 0 / 0.5486 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02108/0.5111, allocations: 8.47 MB / 0.5569 GB, free: 7.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.5112, allocations: 139 kB / 0.5571 GB, free: 7.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003367/0.5146, allocations: 2.63 MB / 0.5596 GB, free: 4.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.5148, allocations: 42.64 kB / 0.5597 GB, free: 4.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.5162, allocations: 2.031 MB / 0.5616 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004551/0.5166, allocations: 428.1 kB / 0.5621 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.5168, allocations: 84 kB / 0.5621 GB, free: 1.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002953/0.5171, allocations: 499.5 kB / 0.5626 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.5191, allocations: 1.312 MB / 0.5639 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003741/0.5228, allocations: 4.097 MB / 0.5679 GB, free: 10.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.526, allocations: 2.296 MB / 0.5701 GB, free: 8.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.902e-05/0.5261, allocations: 28 kB / 0.5702 GB, free: 8.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009311/0.5354, allocations: 5.449 MB / 0.5755 GB, free: 3.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.5355, allocations: 55.94 kB / 0.5755 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.5356, allocations: 100.9 kB / 0.5756 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.5366, allocations: 480.5 kB / 0.5761 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.5394, allocations: 0.9747 MB / 0.577 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.5434, allocations: 3.387 MB / 0.5803 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.5461, allocations: 229.9 kB / 0.5806 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004411/0.5466, allocations: 268 kB / 0.5808 GB, free: 13.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * 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 (527): * Single equations (assignments): 523 * 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.002034/0.5486, allocations: 1.372 MB / 0.5822 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.549, allocations: 213.2 kB / 0.5824 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.5513, allocations: 1.322 MB / 0.5837 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.5514, allocations: 19.44 kB / 0.5837 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5514, allocations: 0 / 0.5837 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.5514, allocations: 7.984 kB / 0.5837 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007551/0.559, allocations: 4.251 MB / 0.5878 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.559, allocations: 0 / 0.5878 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/0.5597, allocations: 141.6 kB / 0.588 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000844/0.5605, allocations: 316.6 kB / 0.5883 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/0.5606, allocations: 15.98 kB / 0.5883 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003201/0.5638, allocations: 2.822 MB / 0.591 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5638, allocations: 144 / 0.591 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.5681, allocations: 3.058 MB / 0.594 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.5687, allocations: 282.1 kB / 0.5943 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.5689, allocations: 14.78 kB / 0.5943 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.5695, allocations: 51.89 kB / 0.5944 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.5696, allocations: 52.36 kB / 0.5944 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.5697, allocations: 28 kB / 0.5944 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002428/0.5721, allocations: 1.621 MB / 0.596 GB, free: 13.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5722, allocations: 0 / 0.596 GB, free: 13.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003381/0.5755, allocations: 0.5998 MB / 0.5966 GB, free: 13.28 MB / 446.1 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 (77): * Single equations (assignments): 73 * 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.004707/0.5803, allocations: 3.679 MB / 0.6002 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005208/0.5855, allocations: 3.189 MB / 0.6033 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5855, allocations: 8 kB / 0.6033 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.5867, allocations: 0.8546 MB / 0.6042 GB, free: 5.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5881, allocations: 213.6 kB / 0.6044 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/0.6192, allocations: 19.81 MB / 0.6237 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/0.6214, allocations: 2.167 MB / 0.6258 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003097/0.6245, allocations: 1.395 MB / 0.6272 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/0.6259, allocations: 1.023 MB / 0.6282 GB, free: 10.44 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6259, allocations: 0 / 0.6282 GB, free: 10.44 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07144/0.6973, allocations: 45.16 MB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.6975, allocations: 198.9 kB / 0.6725 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/3.647, allocations: 0 / 0.6725 GB, free: 13.31 MB / 0.5137 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