Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1986/0.1986, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2901, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006855/0.297, allocations: 6.782 MB / 0.525 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.3017, allocations: 2.388 MB / 0.5274 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.3028, allocations: 34.22 kB / 0.5274 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.3051, allocations: 1.041 MB / 0.5284 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.3074, allocations: 0.8421 MB / 0.5292 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.3082, allocations: 302.7 kB / 0.5295 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002611/0.3109, allocations: 1.898 MB / 0.5314 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.3125, allocations: 1.262 MB / 0.5326 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.3137, allocations: 0.7134 MB / 0.5333 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.3151, allocations: 0.9712 MB / 0.5343 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.3155, allocations: 127.8 kB / 0.5344 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.3169, allocations: 0.7238 MB / 0.5351 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009596/0.3179, allocations: 0.938 MB / 0.536 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.3191, allocations: 1.143 MB / 0.5371 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.3241, allocations: 3.743 MB / 0.5408 GB, free: 4.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3242, allocations: 0 / 0.5408 GB, free: 4.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3242, allocations: 1.156 kB / 0.5408 GB, free: 4.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000109/0.3243, allocations: 0 / 0.5408 GB, free: 4.613 MB / 398.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.005923/0.3302, allocations: 2.653 MB / 0.5434 GB, free: 2.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3303, allocations: 12.03 kB / 0.5434 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008606/0.3312, allocations: 462.4 kB / 0.5438 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005602/0.3368, allocations: 1.569 MB / 0.5453 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.3397, allocations: 1.084 MB / 0.5464 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.804e-05/0.3398, allocations: 119.3 kB / 0.5465 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005212/0.3403, allocations: 159.8 kB / 0.5467 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009631/0.35, allocations: 6.186 MB / 0.5527 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.3501, allocations: 23.81 kB / 0.5527 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/0.3503, allocations: 83.89 kB / 0.5528 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/0.3528, allocations: 1.445 MB / 0.5542 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009575/0.3624, allocations: 5.393 MB / 0.5595 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.3896, allocations: 24.76 MB / 0.5837 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/0.394, allocations: 2.353 MB / 0.586 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.3952, allocations: 0.9911 MB / 0.5869 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003473/0.3955, allocations: 327.2 kB / 0.5872 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3956, allocations: 46.5 kB / 0.5873 GB, free: 3.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.407e-06/0.3956, allocations: 0 / 0.5873 GB, free: 3.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02191/0.4175, allocations: 8.435 MB / 0.5955 GB, free: 11.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.4176, allocations: 136.5 kB / 0.5957 GB, free: 11.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/0.4211, allocations: 2.643 MB / 0.5982 GB, free: 8.488 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.4212, allocations: 41.7 kB / 0.5983 GB, free: 8.441 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.4225, allocations: 2.02 MB / 0.6003 GB, free: 6.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/0.423, allocations: 438.6 kB / 0.6007 GB, free: 5.957 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.4241, allocations: 0.8649 MB / 0.6015 GB, free: 5.078 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.4242, allocations: 301.1 kB / 0.6018 GB, free: 4.781 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.4261, allocations: 1.336 MB / 0.6031 GB, free: 3.438 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.4297, allocations: 4.108 MB / 0.6071 GB, free: 13.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006164/0.4359, allocations: 5.942 MB / 0.6129 GB, free: 6.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.169e-05/0.436, allocations: 28 kB / 0.6129 GB, free: 6.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009419/0.4454, allocations: 5.487 MB / 0.6183 GB, free: 1.078 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.4455, allocations: 49 kB / 0.6184 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.968e-05/0.4456, allocations: 100 kB / 0.6184 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4466, allocations: 460.5 kB / 0.6189 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.4495, allocations: 0.9708 MB / 0.6198 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.4534, allocations: 3.673 MB / 0.6234 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.4563, allocations: 227.5 kB / 0.6236 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004917/0.4568, allocations: 272 kB / 0.6239 GB, free: 11.21 MB / 494.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.001948/0.4588, allocations: 1.364 MB / 0.6252 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.4591, allocations: 221.2 kB / 0.6254 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.4614, allocations: 1.326 MB / 0.6267 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.4615, allocations: 12 kB / 0.6267 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4615, allocations: 11.98 kB / 0.6268 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.4615, allocations: 3.984 kB / 0.6268 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007552/0.469, allocations: 4.194 MB / 0.6309 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.4691, allocations: 0 / 0.6309 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.4697, allocations: 139.8 kB / 0.631 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/0.4706, allocations: 320.5 kB / 0.6313 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.947e-05/0.4707, allocations: 16 kB / 0.6313 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/0.474, allocations: 3.063 MB / 0.6343 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.474, allocations: 4.094 kB / 0.6343 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004055/0.478, allocations: 3.078 MB / 0.6373 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/0.4786, allocations: 274.2 kB / 0.6376 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.4788, allocations: 19.98 kB / 0.6376 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007215/0.4796, allocations: 43.94 kB / 0.6376 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4797, allocations: 52.31 kB / 0.6377 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/0.4798, allocations: 31.98 kB / 0.6377 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002265/0.4821, allocations: 1.625 MB / 0.6393 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4821, allocations: 0 / 0.6393 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002903/0.485, allocations: 0.6093 MB / 0.6399 GB, free: 10.54 MB / 0.4981 GB 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.004399/0.4894, allocations: 3.682 MB / 0.6435 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004782/0.4942, allocations: 3.235 MB / 0.6467 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4942, allocations: 4 kB / 0.6467 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.4953, allocations: 0.86 MB / 0.6475 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.4968, allocations: 215 kB / 0.6477 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03798/0.5348, allocations: 28.28 MB / 0.6753 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/0.5368, allocations: 2.171 MB / 0.6774 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00288/0.5397, allocations: 1.387 MB / 0.6788 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.541, allocations: 1.023 MB / 0.6798 GB, free: 13.86 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.541, allocations: 0 / 0.6798 GB, free: 13.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07697/0.618, allocations: 39.02 MB / 0.7179 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.47/20.09, allocations: 10.08 kB / 0.7179 GB, free: 7.051 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches