Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.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.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",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.0009203/0.0009203, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009527/0.0009525, allocations: 174.8 kB / 16.92 MB, free: 6.68 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.496 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.3081/0.3081, allocations: 43.57 MB / 315 MB, free: 9.059 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.0004471/0.0004471, allocations: 12 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09591, allocations: 58.88 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2233/0.3192, allocations: 68.95 MB / 0.5005 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03079/0.3501, allocations: 13.87 MB / 0.514 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01213/0.3622, allocations: 309.7 kB / 0.5143 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.3637, allocations: 374.1 kB / 0.5147 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.369, allocations: 1.959 MB / 0.5166 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.3709, allocations: 0.936 MB / 0.5175 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.3826, allocations: 8.697 MB / 0.526 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007508/0.3902, allocations: 4.91 MB / 0.5308 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.3935, allocations: 1.405 MB / 0.5322 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.3978, allocations: 2.554 MB / 0.5347 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009461/0.3988, allocations: 140 kB / 0.5348 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.4011, allocations: 0.745 MB / 0.5355 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002738/0.4038, allocations: 2.053 MB / 0.5375 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00332/0.4072, allocations: 2.114 MB / 0.5396 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00682/0.414, allocations: 6.606 MB / 0.546 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.414, allocations: 0 / 0.546 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.414, allocations: 4 kB / 0.546 GB, free: 6.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001513/0.4142, allocations: 0 / 0.546 GB, free: 6.676 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.009711/0.4239, allocations: 4.635 MB / 0.5506 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.424, allocations: 8.031 kB / 0.5506 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007484/0.4247, allocations: 0.5042 MB / 0.5511 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1003/0.5251, allocations: 8.403 MB / 0.5593 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.5361, allocations: 6.404 MB / 0.5655 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.5363, allocations: 201.8 kB / 0.5657 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008271/0.5371, allocations: 291.7 kB / 0.566 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.5491, allocations: 6.957 MB / 0.5728 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.5493, allocations: 55.47 kB / 0.5728 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000364/0.5497, allocations: 131.9 kB / 0.573 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001393/0.5511, allocations: 0.9978 MB / 0.5739 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009193/0.5603, allocations: 4.982 MB / 0.5788 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02864/0.5889, allocations: 27.36 MB / 0.6055 GB, free: 8.301 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.5914, allocations: 0.735 MB / 0.6063 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.5917, allocations: 216.3 kB / 0.6065 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.5917, allocations: 16.3 kB / 0.6065 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.5918, allocations: 46.44 kB / 0.6065 GB, free: 7.223 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.5918, allocations: 0 / 0.6065 GB, free: 7.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.00749/0.5993, allocations: 2.188 MB / 0.6087 GB, free: 5.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.5995, allocations: 247.3 kB / 0.6089 GB, free: 4.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008298/0.6078, allocations: 4.83 MB / 0.6136 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.6079, allocations: 37.7 kB / 0.6136 GB, free: 15.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002418/0.6103, allocations: 2.769 MB / 0.6163 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.6106, allocations: 194.1 kB / 0.6165 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.611, allocations: 317.1 kB / 0.6168 GB, free: 12.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6112, allocations: 309.1 kB / 0.6171 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.6126, allocations: 0.7876 MB / 0.6179 GB, free: 11.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/0.6156, allocations: 3.418 MB / 0.6212 GB, free: 6.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004507/0.6201, allocations: 4.55 MB / 0.6257 GB, free: 0.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.363e-05/0.6202, allocations: 31.94 kB / 0.6257 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.1691/0.7894, allocations: 4.044 MB / 0.6297 GB, free: 138 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.7894, allocations: 45.16 kB / 0.6297 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.963e-05/0.7895, allocations: 95.38 kB / 0.6298 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.79e-05/0.7896, allocations: 122.8 kB / 0.6299 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.7914, allocations: 0.8551 MB / 0.6307 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.873e-05/0.7915, allocations: 181.4 kB / 0.6309 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.7943, allocations: 0.5482 MB / 0.6315 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.7945, allocations: 232.1 kB / 0.6317 GB, free: 137.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001823/0.7964, allocations: 1.628 MB / 0.6333 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/0.7968, allocations: 384 kB / 0.6336 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.7972, allocations: 404.5 kB / 0.634 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7973, allocations: 9.75 kB / 0.634 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7973, allocations: 1.594 kB / 0.634 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7973, allocations: 6.484 kB / 0.634 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/0.8018, allocations: 4.778 MB / 0.6387 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.8018, allocations: 14.94 kB / 0.6387 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.8021, allocations: 113.9 kB / 0.6388 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.8021, allocations: 20.91 kB / 0.6388 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.8021, allocations: 28.39 kB / 0.6389 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/0.8022, allocations: 25.03 kB / 0.6389 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.8022, allocations: 23.62 kB / 0.6389 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008289/0.803, allocations: 1.24 MB / 0.6401 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.8035, allocations: 0.4905 MB / 0.6406 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.8038, allocations: 30.73 kB / 0.6406 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/0.8047, allocations: 44.08 kB / 0.6407 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.8048, allocations: 82.75 kB / 0.6408 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.8048, allocations: 33.19 kB / 0.6408 GB, free: 135.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003214/0.808, allocations: 3.198 MB / 0.6439 GB, free: 134.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.808, allocations: 2.078 kB / 0.6439 GB, free: 134.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002713/0.8107, allocations: 0.8333 MB / 0.6447 GB, free: 134.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.8118, allocations: 1.83 MB / 0.6465 GB, free: 133.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.8139, allocations: 1.904 MB / 0.6484 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8139, allocations: 6.688 kB / 0.6484 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.8141, allocations: 266.4 kB / 0.6486 GB, free: 132.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01122/0.8253, allocations: 0.6388 MB / 0.6493 GB, free: 132.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06457/0.8899, allocations: 44.92 MB / 0.6931 GB, free: 98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003498/0.8935, allocations: 2.869 MB / 0.6959 GB, free: 96.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003146/0.8966, allocations: 1.163 MB / 0.6971 GB, free: 96.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/0.8984, allocations: 1.724 MB / 0.6987 GB, free: 95.29 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.8984, allocations: 4 kB / 0.6988 GB, free: 95.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4247/1.323, allocations: 66.59 MB / 0.7638 GB, free: 31.53 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.323, allocations: 188.1 kB / 0.764 GB, free: 31.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.521/4.844, allocations: 0 / 0.764 GB, free: 31.27 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches