Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_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.001095/0.001095, allocations: 104.5 kB / 16.4 MB, free: 6.496 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.001153/0.001153, allocations: 193.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1888/0.1888, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08922, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007445/0.0967, allocations: 6.799 MB / 0.494 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004248/0.101, allocations: 2.388 MB / 0.4964 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.1017, allocations: 31.94 kB / 0.4964 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.1038, allocations: 1.035 MB / 0.4974 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.1058, allocations: 0.8479 MB / 0.4982 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007588/0.1065, allocations: 295.2 kB / 0.4985 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.1089, allocations: 1.907 MB / 0.5004 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.1105, allocations: 1.26 MB / 0.5016 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.1116, allocations: 0.716 MB / 0.5023 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.113, allocations: 0.973 MB / 0.5033 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003332/0.1133, allocations: 128 kB / 0.5034 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1146, allocations: 0.7176 MB / 0.5041 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008889/0.1155, allocations: 0.9387 MB / 0.505 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.1167, allocations: 1.137 MB / 0.5061 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.1204, allocations: 3.744 MB / 0.5098 GB, free: 5.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1204, allocations: 4 kB / 0.5098 GB, free: 5.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1204, allocations: 4 kB / 0.5098 GB, free: 5.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.173e-05/0.1205, allocations: 0 / 0.5098 GB, free: 5.285 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.004612/0.1251, allocations: 2.657 MB / 0.5124 GB, free: 2.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1252, allocations: 11.89 kB / 0.5124 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00063/0.1258, allocations: 458.4 kB / 0.5128 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/0.131, allocations: 1.569 MB / 0.5143 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.1332, allocations: 1.092 MB / 0.5154 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.221e-05/0.1333, allocations: 119.3 kB / 0.5155 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/0.1337, allocations: 159.8 kB / 0.5157 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007954/0.1417, allocations: 6.186 MB / 0.5217 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.313e-05/0.1417, allocations: 23.72 kB / 0.5217 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.142, allocations: 83.89 kB / 0.5218 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002259/0.1442, allocations: 1.441 MB / 0.5232 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008594/0.1528, allocations: 5.393 MB / 0.5285 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1904/0.3433, allocations: 24.75 MB / 0.5527 GB, free: 19.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/0.3476, allocations: 2.34 MB / 0.555 GB, free: 18.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.349, allocations: 0.9831 MB / 0.5559 GB, free: 17.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.3493, allocations: 329.3 kB / 0.5562 GB, free: 17.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3493, allocations: 47.66 kB / 0.5563 GB, free: 17.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.697e-06/0.3494, allocations: 2.062 kB / 0.5563 GB, free: 17.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02033/0.3697, allocations: 8.447 MB / 0.5645 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3698, allocations: 142.8 kB / 0.5647 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.3729, allocations: 2.644 MB / 0.5672 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.733e-05/0.373, allocations: 45.64 kB / 0.5673 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007113/0.3737, allocations: 2.02 MB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.374, allocations: 436.9 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007719/0.3748, allocations: 0.8623 MB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.3748, allocations: 305.1 kB / 0.5708 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.3762, allocations: 1.333 MB / 0.5721 GB, free: 9.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.3784, allocations: 4.104 MB / 0.5761 GB, free: 4.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/0.3826, allocations: 5.945 MB / 0.5819 GB, free: 15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.862e-05/0.3826, allocations: 28 kB / 0.5819 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007845/0.3905, allocations: 5.478 MB / 0.5873 GB, free: 9.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/0.3905, allocations: 52.06 kB / 0.5873 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-05/0.3906, allocations: 100 kB / 0.5874 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3917, allocations: 468.1 kB / 0.5879 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.3941, allocations: 0.9747 MB / 0.5888 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.3979, allocations: 3.661 MB / 0.5924 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.4004, allocations: 243.4 kB / 0.5926 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/0.4007, allocations: 268 kB / 0.5929 GB, free: 3.695 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 (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.00165/0.4024, allocations: 1.374 MB / 0.5942 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.4027, allocations: 217.2 kB / 0.5945 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.4049, allocations: 1.318 MB / 0.5957 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.4049, allocations: 16.75 kB / 0.5958 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4049, allocations: 4 kB / 0.5958 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4049, allocations: 3.984 kB / 0.5958 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006946/0.4119, allocations: 4.198 MB / 0.5999 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4119, allocations: 0 / 0.5999 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.4125, allocations: 135.8 kB / 0.6 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008206/0.4134, allocations: 324.5 kB / 0.6003 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.4134, allocations: 12 kB / 0.6003 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.4166, allocations: 3.071 MB / 0.6033 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4166, allocations: 7.969 kB / 0.6033 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.4205, allocations: 3.066 MB / 0.6063 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009885/0.4215, allocations: 414 kB / 0.6067 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/0.4219, allocations: 16 kB / 0.6067 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009262/0.4229, allocations: 47.88 kB / 0.6068 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.423, allocations: 52.38 kB / 0.6068 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.4231, allocations: 35.86 kB / 0.6069 GB, free: 5.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002266/0.4254, allocations: 1.637 MB / 0.6085 GB, free: 3.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4254, allocations: 0 / 0.6085 GB, free: 3.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00288/0.4283, allocations: 0.6 MB / 0.609 GB, free: 2.938 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 (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.004269/0.4325, allocations: 3.691 MB / 0.6126 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004594/0.4372, allocations: 3.225 MB / 0.6158 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4372, allocations: 0 / 0.6158 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.4383, allocations: 0.8606 MB / 0.6166 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.4396, allocations: 210.9 kB / 0.6168 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/0.4739, allocations: 28.3 MB / 0.6445 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/0.4759, allocations: 2.171 MB / 0.6466 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002765/0.4787, allocations: 1.387 MB / 0.6479 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.48, allocations: 1.03 MB / 0.6489 GB, free: 6.293 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.48, allocations: 0 / 0.6489 GB, free: 6.293 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0971/0.5771, allocations: 38.99 MB / 0.687 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/18.23, allocations: 12.55 kB / 0.687 GB, free: 15.29 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches