Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.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.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 115.8 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.4 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 76.12 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1105, allocations: 62.44 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2944/0.4049, allocations: 70.14 MB / 0.5369 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03062/0.4356, allocations: 13.65 MB / 0.5502 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01434/0.45, allocations: 313.6 kB / 0.5505 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006902/0.4569, allocations: 2.994 MB / 0.5534 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006594/0.4636, allocations: 1.893 MB / 0.5553 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.4658, allocations: 0.9691 MB / 0.5562 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008904/0.4747, allocations: 7.278 MB / 0.5633 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004153/0.4789, allocations: 3.794 MB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.4815, allocations: 1.877 MB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.4847, allocations: 2.918 MB / 0.5717 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005214/0.4853, allocations: 360 kB / 0.572 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.4868, allocations: 0.8975 MB / 0.5729 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001853/0.4886, allocations: 2.295 MB / 0.5752 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.4908, allocations: 2.401 MB / 0.5775 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005699/0.4965, allocations: 6.85 MB / 0.5842 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4965, allocations: 0 / 0.5842 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4965, allocations: 0 / 0.5842 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.4966, allocations: 0 / 0.5842 GB, free: 12.05 MB / 430.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.01144/0.5081, allocations: 5.428 MB / 0.5895 GB, free: 6.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.5081, allocations: 8.031 kB / 0.5895 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006617/0.5088, allocations: 0.5081 MB / 0.59 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09807/0.6069, allocations: 8.2 MB / 0.598 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.6177, allocations: 5.093 MB / 0.603 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.6179, allocations: 205.8 kB / 0.6032 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008914/0.6188, allocations: 295.7 kB / 0.6035 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.6325, allocations: 6.914 MB / 0.6102 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.6328, allocations: 55.47 kB / 0.6103 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006949/0.6335, allocations: 131.9 kB / 0.6104 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001617/0.6351, allocations: 1.002 MB / 0.6114 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.6459, allocations: 4.924 MB / 0.6162 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0363/0.6822, allocations: 27.28 MB / 0.6428 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.6848, allocations: 0.7424 MB / 0.6435 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.6852, allocations: 220.6 kB / 0.6438 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.6853, allocations: 11.98 kB / 0.6438 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.6853, allocations: 42.5 kB / 0.6438 GB, free: 13.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.575e-06/0.6854, allocations: 4 kB / 0.6438 GB, free: 13.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.007118/0.6925, allocations: 1.952 MB / 0.6457 GB, free: 11.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.6927, allocations: 239.7 kB / 0.6459 GB, free: 11.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/0.7029, allocations: 4.757 MB / 0.6506 GB, free: 6.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/0.703, allocations: 29.7 kB / 0.6506 GB, free: 6.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002847/0.7059, allocations: 2.757 MB / 0.6533 GB, free: 3.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.7062, allocations: 194.2 kB / 0.6535 GB, free: 3.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.7075, allocations: 0.7178 MB / 0.6542 GB, free: 2.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7076, allocations: 309.1 kB / 0.6545 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.7091, allocations: 0.7915 MB / 0.6553 GB, free: 1.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/0.7124, allocations: 3.414 MB / 0.6586 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/0.7177, allocations: 4.546 MB / 0.663 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.229e-05/0.7178, allocations: 31.94 kB / 0.6631 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007705/0.7255, allocations: 4.042 MB / 0.667 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/0.7257, allocations: 48 kB / 0.6671 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.7258, allocations: 95.98 kB / 0.6672 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.7259, allocations: 124 kB / 0.6673 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.7283, allocations: 0.8503 MB / 0.6681 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001502/0.7285, allocations: 191.2 kB / 0.6683 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/0.7322, allocations: 0.5335 MB / 0.6688 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003443/0.7325, allocations: 232 kB / 0.669 GB, free: 0.8398 MB / 0.4981 GB 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.00281/0.7354, allocations: 1.629 MB / 0.6706 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/0.7365, allocations: 375.1 kB / 0.671 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.7376, allocations: 397.2 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.7376, allocations: 4 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.7376, allocations: 11.98 kB / 0.6714 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.7376, allocations: 0 / 0.6714 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009368/0.747, allocations: 4.753 MB / 0.676 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-05/0.7471, allocations: 20.38 kB / 0.676 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.7474, allocations: 119.9 kB / 0.6761 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.055e-05/0.7474, allocations: 16 kB / 0.6762 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.7475, allocations: 28 kB / 0.6762 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-05/0.7475, allocations: 31.8 kB / 0.6762 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.7475, allocations: 19.94 kB / 0.6762 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.7492, allocations: 1.251 MB / 0.6775 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.7505, allocations: 483.9 kB / 0.6779 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008443/0.7513, allocations: 28 kB / 0.6779 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.7528, allocations: 39.97 kB / 0.678 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.7529, allocations: 87.58 kB / 0.6781 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.7529, allocations: 35.98 kB / 0.6781 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005934/0.7589, allocations: 3.128 MB / 0.6812 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7589, allocations: 0 / 0.6812 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004193/0.7631, allocations: 0.826 MB / 0.682 GB, free: 3.074 MB / 0.5137 GB 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.002406/0.7655, allocations: 1.828 MB / 0.6837 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003495/0.769, allocations: 1.931 MB / 0.6856 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.769, allocations: 4 kB / 0.6856 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.7694, allocations: 267.3 kB / 0.6859 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/0.7742, allocations: 0.6705 MB / 0.6865 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3052/1.079, allocations: 44.06 MB / 0.7296 GB, free: 186 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004381/1.084, allocations: 2.842 MB / 0.7324 GB, free: 184.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003951/1.088, allocations: 1.161 MB / 0.7335 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.09, allocations: 1.699 MB / 0.7351 GB, free: 183.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.09, allocations: 1.219 kB / 0.7351 GB, free: 183.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.208, allocations: 67.49 MB / 0.8011 GB, free: 126.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/1.208, allocations: 191.6 kB / 0.8012 GB, free: 126.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.755/4.963, allocations: 3.75 kB / 0.8012 GB, free: 126.3 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches