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.0008879/0.0008882, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009125/0.0009124, allocations: 184.7 kB / 16.92 MB, free: 6.918 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.223/1.223, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3062/0.3062, allocations: 43.58 MB / 315 MB, free: 9.094 MB / 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.000498/0.0004981, allocations: 16 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09591, allocations: 58.85 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1907/0.2866, allocations: 16.65 MB / 460.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006351/0.293, allocations: 4.046 MB / 464.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009913/0.294, allocations: 70.25 kB / 464.3 MB, free: 35.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.2945, allocations: 269.5 kB / 464.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.2958, allocations: 0.7949 MB / 465.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2963, allocations: 274.6 kB / 465.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.2981, allocations: 2.77 MB / 468.4 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.2997, allocations: 1.667 MB / 470.1 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005005/0.3002, allocations: 0.5945 MB / 470.7 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008246/0.3011, allocations: 0.9896 MB / 471.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.3012, allocations: 77.69 kB / 471.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000809/0.302, allocations: 0.7059 MB / 472.4 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004822/0.3025, allocations: 0.8983 MB / 473.3 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.3031, allocations: 1.111 MB / 474.4 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.305, allocations: 3.47 MB / 477.9 MB, free: 33.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.305, allocations: 0 / 477.9 MB, free: 33.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.305, allocations: 0 / 477.9 MB, free: 33.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.305, allocations: 0 / 477.9 MB, free: 33.38 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.002433/0.3075, allocations: 2.201 MB / 480.1 MB, free: 32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3075, allocations: 10 kB / 480.1 MB, free: 32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003416/0.3079, allocations: 456.7 kB / 480.6 MB, free: 31.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/0.3125, allocations: 1.61 MB / 482.2 MB, free: 31.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3138, allocations: 1.072 MB / 483.3 MB, free: 30.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.3139, allocations: 117.9 kB / 483.4 MB, free: 30.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/0.3142, allocations: 164.7 kB / 483.5 MB, free: 30.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006841/0.321, allocations: 6.181 MB / 489.7 MB, free: 27.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.3211, allocations: 27.77 kB / 489.7 MB, free: 27.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.3213, allocations: 86.42 kB / 489.8 MB, free: 27.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002304/0.3236, allocations: 1.444 MB / 491.3 MB, free: 27.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008992/0.3326, allocations: 5.391 MB / 496.7 MB, free: 25.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02264/0.3553, allocations: 24.88 MB / 0.5093 GB, free: 22.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/0.359, allocations: 2.357 MB / 0.5116 GB, free: 21.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/0.3599, allocations: 0.9897 MB / 0.5126 GB, free: 20.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.3602, allocations: 336.2 kB / 0.5129 GB, free: 20.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3602, allocations: 39.97 kB / 0.5129 GB, free: 20.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.3602, allocations: 0 / 0.5129 GB, free: 20.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.01932/0.3796, allocations: 8.493 MB / 0.5212 GB, free: 12.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.3797, allocations: 140.5 kB / 0.5214 GB, free: 12.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/0.383, allocations: 2.644 MB / 0.524 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/0.3831, allocations: 37.7 kB / 0.524 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.3844, allocations: 2.019 MB / 0.526 GB, free: 8.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.3847, allocations: 448.2 kB / 0.5264 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000388/0.3851, allocations: 363.2 kB / 0.5267 GB, free: 7.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.3852, allocations: 305.1 kB / 0.527 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.387, allocations: 1.336 MB / 0.5283 GB, free: 5.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/0.3904, allocations: 4.104 MB / 0.5323 GB, free: 104 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005874/0.3963, allocations: 5.931 MB / 0.5381 GB, free: 8.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.677e-05/0.3964, allocations: 28 kB / 0.5382 GB, free: 8.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007754/0.4041, allocations: 5.498 MB / 0.5435 GB, free: 3.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.4042, allocations: 48 kB / 0.5436 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.292e-05/0.4043, allocations: 100 kB / 0.5437 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009797/0.4053, allocations: 460.6 kB / 0.5441 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/0.4076, allocations: 0.9746 MB / 0.5451 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.4113, allocations: 3.401 MB / 0.5484 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.4136, allocations: 235.5 kB / 0.5486 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003001/0.414, allocations: 272 kB / 0.5489 GB, free: 13.67 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.00179/0.4158, allocations: 1.362 MB / 0.5502 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.4161, allocations: 221.2 kB / 0.5504 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.4183, allocations: 1.326 MB / 0.5517 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.4183, allocations: 12 kB / 0.5517 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.4183, allocations: 4 kB / 0.5517 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.4183, allocations: 3.984 kB / 0.5517 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.4245, allocations: 4.256 MB / 0.5559 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4245, allocations: 4 kB / 0.5559 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.4251, allocations: 135.9 kB / 0.556 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007664/0.4259, allocations: 316.5 kB / 0.5563 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.426, allocations: 20 kB / 0.5563 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.4287, allocations: 2.826 MB / 0.5591 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4287, allocations: 3.938 kB / 0.5591 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.4322, allocations: 3.056 MB / 0.5621 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.4328, allocations: 422 kB / 0.5625 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.433, allocations: 15.36 kB / 0.5625 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/0.4337, allocations: 55.81 kB / 0.5625 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4338, allocations: 52.36 kB / 0.5626 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.4339, allocations: 28 kB / 0.5626 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001927/0.4358, allocations: 1.633 MB / 0.5642 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4358, allocations: 4.062 kB / 0.5642 GB, free: 13.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002547/0.4384, allocations: 0.6015 MB / 0.5648 GB, free: 13.09 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.003849/0.4422, allocations: 3.69 MB / 0.5684 GB, free: 9.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.4464, allocations: 3.21 MB / 0.5715 GB, free: 6.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4464, allocations: 0 / 0.5715 GB, free: 6.172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000951/0.4473, allocations: 0.877 MB / 0.5724 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.4486, allocations: 200 kB / 0.5726 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03718/0.4858, allocations: 31.44 MB / 0.6033 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/0.488, allocations: 2.171 MB / 0.6054 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002994/0.491, allocations: 1.383 MB / 0.6068 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.4923, allocations: 1.03 MB / 0.6078 GB, free: 12.22 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4924, allocations: 0 / 0.6078 GB, free: 12.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6502/1.143, allocations: 39.85 MB / 0.6467 GB, free: 151.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/1.143, allocations: 218.5 kB / 0.6469 GB, free: 151.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/4.787, allocations: 0 / 0.6469 GB, free: 151.3 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches