Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_cpp_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.001282/0.001282, allocations: 192.4 kB / 16.09 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 243.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007224/0.0007224, allocations: 103.1 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3018/0.3018, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002706, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2916, allocations: 62.97 MB / 0.516 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01033/0.302, allocations: 15.55 MB / 0.5311 GB, free: 26.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.3084, allocations: 3.885 MB / 0.5349 GB, free: 23.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.3103, allocations: 68.78 kB / 0.535 GB, free: 23.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.3117, allocations: 0.7794 MB / 0.5358 GB, free: 23.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.3156, allocations: 2.225 MB / 0.5379 GB, free: 22.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.3166, allocations: 277 kB / 0.5382 GB, free: 22.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.3189, allocations: 2.196 MB / 0.5404 GB, free: 21.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.3207, allocations: 1.637 MB / 0.5419 GB, free: 20.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008916/0.3217, allocations: 0.6498 MB / 0.5426 GB, free: 20.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.3228, allocations: 0.9818 MB / 0.5435 GB, free: 20.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.3231, allocations: 73.19 kB / 0.5436 GB, free: 20.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3243, allocations: 0.719 MB / 0.5443 GB, free: 19.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008121/0.3251, allocations: 0.864 MB / 0.5452 GB, free: 19.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007861/0.3259, allocations: 1.049 MB / 0.5462 GB, free: 18.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.3291, allocations: 2.797 MB / 0.5489 GB, free: 18.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3292, allocations: 0.8906 kB / 0.5489 GB, free: 18.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3292, allocations: 0 / 0.5489 GB, free: 18.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.897e-05/0.3293, allocations: 1.281 kB / 0.5489 GB, free: 18.33 MB / 378.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.004126/0.3334, allocations: 2.209 MB / 0.5511 GB, free: 16.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3335, allocations: 10.31 kB / 0.5511 GB, free: 16.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000509/0.334, allocations: 459.2 kB / 0.5515 GB, free: 16.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/0.3389, allocations: 1.609 MB / 0.5531 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.3406, allocations: 1.075 MB / 0.5541 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-05/0.3407, allocations: 120.1 kB / 0.5543 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.341, allocations: 153.9 kB / 0.5544 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008003/0.349, allocations: 6.171 MB / 0.5604 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.3491, allocations: 30.62 kB / 0.5605 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.3493, allocations: 86.34 kB / 0.5605 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002025/0.3513, allocations: 1.441 MB / 0.5619 GB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007249/0.3586, allocations: 5.369 MB / 0.5672 GB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02338/0.382, allocations: 24.88 MB / 0.5915 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004136/0.3862, allocations: 2.349 MB / 0.5938 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.3873, allocations: 0.9976 MB / 0.5948 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.3876, allocations: 323.7 kB / 0.5951 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3877, allocations: 46.56 kB / 0.5951 GB, free: 6.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.476e-06/0.3877, allocations: 0 / 0.5951 GB, free: 6.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.021/0.4087, allocations: 8.475 MB / 0.6034 GB, free: 14.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.4088, allocations: 144.5 kB / 0.6035 GB, free: 13.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.4121, allocations: 2.628 MB / 0.6061 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.4122, allocations: 37.7 kB / 0.6061 GB, free: 11.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.4135, allocations: 2.028 MB / 0.6081 GB, free: 9.094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.414, allocations: 434.6 kB / 0.6085 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.4141, allocations: 80 kB / 0.6086 GB, free: 8.586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.4144, allocations: 499.4 kB / 0.6091 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.4162, allocations: 1.312 MB / 0.6104 GB, free: 6.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/0.4197, allocations: 4.096 MB / 0.6144 GB, free: 1.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006141/0.4258, allocations: 5.912 MB / 0.6201 GB, free: 9.969 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.665e-05/0.4259, allocations: 28 kB / 0.6202 GB, free: 9.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009033/0.435, allocations: 5.452 MB / 0.6255 GB, free: 4.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.709e-05/0.4351, allocations: 48 kB / 0.6255 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.256e-05/0.4352, allocations: 96 kB / 0.6256 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.4362, allocations: 461 kB / 0.6261 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/0.4388, allocations: 0.9786 MB / 0.627 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.4424, allocations: 3.401 MB / 0.6303 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/0.445, allocations: 231.5 kB / 0.6306 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004125/0.4454, allocations: 276 kB / 0.6308 GB, free: 14.88 MB / 458.7 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.00223/0.4476, allocations: 1.364 MB / 0.6321 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.448, allocations: 217.1 kB / 0.6324 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.4503, allocations: 1.33 MB / 0.6337 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.4504, allocations: 12 kB / 0.6337 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.4504, allocations: 4 kB / 0.6337 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4504, allocations: 3.984 kB / 0.6337 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007004/0.4574, allocations: 4.234 MB / 0.6378 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.4574, allocations: 0 / 0.6378 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.458, allocations: 139.8 kB / 0.6379 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008276/0.4589, allocations: 320.5 kB / 0.6382 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.4589, allocations: 20 kB / 0.6383 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.4619, allocations: 2.827 MB / 0.641 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4619, allocations: 3.938 kB / 0.641 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003839/0.4657, allocations: 3.058 MB / 0.644 GB, free: 1.105 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.4663, allocations: 274.1 kB / 0.6443 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.4665, allocations: 19.94 kB / 0.6443 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/0.4672, allocations: 48 kB / 0.6443 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.4675, allocations: 60.3 kB / 0.6444 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.4675, allocations: 24 kB / 0.6444 GB, free: 0.668 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002457/0.47, allocations: 1.621 MB / 0.646 GB, free: 15.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.47, allocations: 4 kB / 0.646 GB, free: 15.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003095/0.4731, allocations: 0.5976 MB / 0.6466 GB, free: 14.43 MB / 474.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 (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.004327/0.4774, allocations: 3.678 MB / 0.6502 GB, free: 10.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004886/0.4824, allocations: 3.187 MB / 0.6533 GB, free: 7.547 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4824, allocations: 0 / 0.6533 GB, free: 7.547 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4835, allocations: 0.8721 MB / 0.6541 GB, free: 6.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.4851, allocations: 196.4 kB / 0.6543 GB, free: 6.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03425/0.5194, allocations: 20.1 MB / 0.674 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.5215, allocations: 2.175 MB / 0.6761 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/0.523, allocations: 1.058 MB / 0.6771 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.523, allocations: 0 / 0.6771 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.352/5.875, allocations: 54.95 MB / 0.7308 GB, free: 130.9 MB / 0.4948 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches