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.0009502/0.0009503, allocations: 94.61 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009451/0.0009451, allocations: 204.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 45.91 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002993, allocations: 11.98 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 63.46 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01447/0.1385, allocations: 14.75 MB / 496.3 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00834/0.1469, allocations: 4.038 MB / 0.4886 GB, free: 2.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.1493, allocations: 71.88 kB / 0.4886 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.1513, allocations: 0.6882 MB / 0.4893 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006869/0.1582, allocations: 2.127 MB / 0.4914 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1593, allocations: 203.6 kB / 0.4916 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.1615, allocations: 1.106 MB / 0.4927 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.1638, allocations: 1.508 MB / 0.4941 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.1646, allocations: 0.5371 MB / 0.4947 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008503/0.1655, allocations: 0.689 MB / 0.4953 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.1657, allocations: 76 kB / 0.4954 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1667, allocations: 0.5968 MB / 0.496 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006369/0.1674, allocations: 0.8026 MB / 0.4968 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.1678, allocations: 484.1 kB / 0.4972 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.1705, allocations: 2.798 MB / 0.5 GB, free: 6.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1705, allocations: 0 / 0.5 GB, free: 6.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1705, allocations: 0 / 0.5 GB, free: 6.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.074e-05/0.1706, allocations: 0 / 0.5 GB, free: 6.676 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.004008/0.1746, allocations: 2.294 MB / 0.5022 GB, free: 4.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1746, allocations: 8.031 kB / 0.5022 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004911/0.1751, allocations: 458.2 kB / 0.5027 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/0.1809, allocations: 1.884 MB / 0.5045 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.1833, allocations: 1.06 MB / 0.5055 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.1834, allocations: 118.9 kB / 0.5056 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/0.1837, allocations: 151.9 kB / 0.5058 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2938/0.4776, allocations: 6.203 MB / 0.5119 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.58e-05/0.4777, allocations: 27.98 kB / 0.5119 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.478, allocations: 82.12 kB / 0.512 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002765/0.4808, allocations: 1.438 MB / 0.5134 GB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.494, allocations: 5.414 MB / 0.5186 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02802/0.5221, allocations: 24.89 MB / 0.543 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.5262, allocations: 2.38 MB / 0.5453 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.5265, allocations: 318.3 kB / 0.5456 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5266, allocations: 43.75 kB / 0.5456 GB, free: 1.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.438e-06/0.5266, allocations: 0 / 0.5456 GB, free: 1.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02169/0.5483, allocations: 8.799 MB / 0.5542 GB, free: 10.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.5484, allocations: 143.6 kB / 0.5544 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/0.5521, allocations: 2.63 MB / 0.5569 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.5523, allocations: 38.56 kB / 0.557 GB, free: 7.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.5538, allocations: 2.018 MB / 0.5589 GB, free: 5.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.5542, allocations: 443.2 kB / 0.5593 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.5544, allocations: 86.73 kB / 0.5594 GB, free: 4.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003043/0.5547, allocations: 499.4 kB / 0.5599 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.5567, allocations: 1.316 MB / 0.5612 GB, free: 3.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003696/0.5604, allocations: 4.069 MB / 0.5652 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.5637, allocations: 2.297 MB / 0.5674 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.571e-05/0.5638, allocations: 28 kB / 0.5674 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01141/0.5752, allocations: 5.462 MB / 0.5728 GB, free: 6.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.874e-05/0.5753, allocations: 48 kB / 0.5728 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.5755, allocations: 96 kB / 0.5729 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.5767, allocations: 472.9 kB / 0.5734 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/0.58, allocations: 0.9786 MB / 0.5743 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.5843, allocations: 3.456 MB / 0.5777 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/0.5876, allocations: 227.6 kB / 0.5779 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007416/0.5884, allocations: 283.9 kB / 0.5782 GB, free: 0.793 MB / 414.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.002614/0.591, allocations: 1.358 MB / 0.5795 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/0.5915, allocations: 221.2 kB / 0.5797 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.5938, allocations: 1.318 MB / 0.581 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.5938, allocations: 13.09 kB / 0.581 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.5938, allocations: 9.844 kB / 0.581 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5939, allocations: 7.938 kB / 0.581 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00812/0.602, allocations: 4.234 MB / 0.5852 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.602, allocations: 0 / 0.5852 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.6027, allocations: 139.8 kB / 0.5853 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008626/0.6036, allocations: 317.3 kB / 0.5856 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.6037, allocations: 18.08 kB / 0.5856 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.607, allocations: 2.89 MB / 0.5884 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.607, allocations: 3.938 kB / 0.5884 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004453/0.6115, allocations: 3.118 MB / 0.5915 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/0.6124, allocations: 290.1 kB / 0.5918 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.6127, allocations: 12.55 kB / 0.5918 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007416/0.6134, allocations: 56.73 kB / 0.5918 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.6136, allocations: 60.23 kB / 0.5919 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.227e-05/0.6137, allocations: 29.42 kB / 0.5919 GB, free: 2.477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002582/0.6163, allocations: 1.621 MB / 0.5935 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6163, allocations: 0 / 0.5935 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003412/0.6197, allocations: 0.5997 MB / 0.5941 GB, free: 256 kB / 430.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.004678/0.6244, allocations: 3.908 MB / 0.5979 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005129/0.6296, allocations: 3.193 MB / 0.601 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.6296, allocations: 1.75 kB / 0.601 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.6308, allocations: 0.8658 MB / 0.6019 GB, free: 8.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.6319, allocations: 184.2 kB / 0.602 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05792/0.6898, allocations: 87.45 MB / 0.6874 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.6923, allocations: 2.226 MB / 0.6896 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003216/0.6955, allocations: 1.391 MB / 0.691 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.6968, allocations: 1.023 MB / 0.692 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.6968, allocations: 0 / 0.692 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2988/0.9956, allocations: 45.14 MB / 0.7361 GB, free: 194.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.9958, allocations: 192.6 kB / 0.7362 GB, free: 194 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/4.129, allocations: 7.844 kB / 0.7363 GB, free: 194 MB / 0.545 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