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.001134/0.001134, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2011/0.2011, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 81.22 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09699, allocations: 62.44 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007451/0.1045, allocations: 6.773 MB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.1086, allocations: 2.43 MB / 489.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.1091, allocations: 31.94 kB / 489.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.111, allocations: 1.051 MB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.1125, allocations: 0.8401 MB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.1131, allocations: 307.2 kB / 491.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.1148, allocations: 1.861 MB / 493.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.116, allocations: 1.26 MB / 494.7 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006456/0.1167, allocations: 0.7082 MB / 495.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009861/0.1177, allocations: 0.9691 MB / 496.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.1179, allocations: 128 kB / 496.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.119, allocations: 0.7293 MB / 497.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007416/0.1198, allocations: 0.9192 MB / 498.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008945/0.1207, allocations: 1.125 MB / 499.2 MB, free: 2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.1238, allocations: 3.539 MB / 0.491 GB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1238, allocations: 0 / 0.491 GB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1238, allocations: 0 / 0.491 GB, free: 14.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.257e-05/0.1239, allocations: 0 / 0.491 GB, free: 14.45 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.003851/0.1278, allocations: 2.634 MB / 0.4936 GB, free: 11.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1278, allocations: 12.03 kB / 0.4936 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004477/0.1283, allocations: 462.4 kB / 0.494 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.1333, allocations: 1.557 MB / 0.4955 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.1349, allocations: 1.069 MB / 0.4966 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.135, allocations: 123.3 kB / 0.4967 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/0.1353, allocations: 163.7 kB / 0.4969 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007546/0.1429, allocations: 6.182 MB / 0.5029 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.1429, allocations: 27.81 kB / 0.5029 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.1431, allocations: 83.88 kB / 0.503 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.1453, allocations: 1.441 MB / 0.5044 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1862/0.3315, allocations: 5.382 MB / 0.5097 GB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/0.3531, allocations: 24.88 MB / 0.534 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/0.3569, allocations: 2.338 MB / 0.5362 GB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009456/0.3579, allocations: 0.9868 MB / 0.5372 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.3581, allocations: 321.4 kB / 0.5375 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.3582, allocations: 46.62 kB / 0.5376 GB, free: 16.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.975e-06/0.3582, allocations: 0 / 0.5376 GB, free: 16.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01968/0.3779, allocations: 8.438 MB / 0.5458 GB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.3779, allocations: 140.5 kB / 0.5459 GB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003013/0.3809, allocations: 2.635 MB / 0.5485 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.58e-05/0.3811, allocations: 37.7 kB / 0.5485 GB, free: 7.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009364/0.382, allocations: 2.02 MB / 0.5505 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.3823, allocations: 437 kB / 0.5509 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008284/0.3831, allocations: 0.8629 MB / 0.5518 GB, free: 4.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.3832, allocations: 313.1 kB / 0.5521 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3847, allocations: 1.332 MB / 0.5534 GB, free: 2.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/0.3878, allocations: 4.108 MB / 0.5574 GB, free: 12.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006305/0.3941, allocations: 5.938 MB / 0.5632 GB, free: 5.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.804e-05/0.3942, allocations: 28 kB / 0.5632 GB, free: 5.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008907/0.4031, allocations: 5.489 MB / 0.5686 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.4032, allocations: 48 kB / 0.5686 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.4034, allocations: 96.05 kB / 0.5687 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.4045, allocations: 469.2 kB / 0.5692 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/0.4072, allocations: 0.9747 MB / 0.5701 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.4114, allocations: 3.682 MB / 0.5737 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.414, allocations: 223.5 kB / 0.5739 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004901/0.4145, allocations: 272 kB / 0.5742 GB, free: 10.22 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002156/0.4167, allocations: 1.371 MB / 0.5755 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/0.4171, allocations: 217.2 kB / 0.5757 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.4195, allocations: 1.329 MB / 0.577 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.4196, allocations: 12 kB / 0.577 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.4196, allocations: 7.984 kB / 0.577 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.4196, allocations: 3.984 kB / 0.577 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007247/0.4268, allocations: 4.229 MB / 0.5812 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.4269, allocations: 8 kB / 0.5812 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.4275, allocations: 139.8 kB / 0.5813 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008409/0.4284, allocations: 308.5 kB / 0.5816 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.4284, allocations: 24 kB / 0.5816 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003181/0.4316, allocations: 3.026 MB / 0.5846 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4316, allocations: 4.031 kB / 0.5846 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/0.4355, allocations: 3.066 MB / 0.5876 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/0.4361, allocations: 270.1 kB / 0.5878 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/0.4364, allocations: 23.91 kB / 0.5879 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007934/0.4372, allocations: 51.88 kB / 0.5879 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4373, allocations: 60.3 kB / 0.588 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/0.4374, allocations: 24 kB / 0.588 GB, free: 11.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002415/0.4398, allocations: 1.625 MB / 0.5896 GB, free: 10.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4399, allocations: 0 / 0.5896 GB, free: 10.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002792/0.4427, allocations: 0.5914 MB / 0.5902 GB, free: 9.598 MB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004207/0.4469, allocations: 3.683 MB / 0.5938 GB, free: 5.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004811/0.4517, allocations: 3.466 MB / 0.5971 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.4517, allocations: 4 kB / 0.5971 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.4528, allocations: 0.8679 MB / 0.598 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.4541, allocations: 209.4 kB / 0.5982 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03922/0.4933, allocations: 30.25 MB / 0.6277 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002462/0.4958, allocations: 2.167 MB / 0.6298 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003097/0.499, allocations: 1.391 MB / 0.6312 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/0.5004, allocations: 1.019 MB / 0.6322 GB, free: 9.719 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5004, allocations: 0 / 0.6322 GB, free: 9.719 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07673/0.5771, allocations: 41.03 MB / 0.6723 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.73, allocations: 10.08 kB / 0.6723 GB, free: 0.832 MB / 0.4981 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/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) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches