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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 213.4 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.93 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 79.86 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3044, allocations: 66.08 MB / 0.5607 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01684/0.3212, allocations: 14.72 MB / 0.5751 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.3323, allocations: 4.712 MB / 0.5797 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.3346, allocations: 119.4 kB / 0.5798 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006378/0.341, allocations: 3.158 MB / 0.5829 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.3464, allocations: 2.082 MB / 0.5849 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.3487, allocations: 1.014 MB / 0.5859 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.3597, allocations: 6.96 MB / 0.5927 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004679/0.3643, allocations: 2.856 MB / 0.5955 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.3683, allocations: 1.85 MB / 0.5973 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.3731, allocations: 2.828 MB / 0.6001 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.3742, allocations: 360 kB / 0.6004 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.3763, allocations: 0.9092 MB / 0.6013 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.3789, allocations: 2.361 MB / 0.6036 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003339/0.3822, allocations: 2.382 MB / 0.6059 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008685/0.3909, allocations: 6.97 MB / 0.6127 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3909, allocations: 0 / 0.6127 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3909, allocations: 4 kB / 0.6127 GB, free: 14.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001728/0.3911, allocations: 0 / 0.6127 GB, free: 14.8 MB / 462.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.01421/0.4053, allocations: 5.5 MB / 0.6181 GB, free: 9.238 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4053, allocations: 8.031 kB / 0.6181 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008229/0.4062, allocations: 0.5081 MB / 0.6186 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09681/0.503, allocations: 8.226 MB / 0.6267 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.5149, allocations: 5.122 MB / 0.6317 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.5151, allocations: 205.6 kB / 0.6319 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007038/0.5158, allocations: 287.8 kB / 0.6321 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.5285, allocations: 6.917 MB / 0.6389 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.5287, allocations: 63.55 kB / 0.6389 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/0.529, allocations: 123.9 kB / 0.6391 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001596/0.5306, allocations: 1.002 MB / 0.64 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.5411, allocations: 4.924 MB / 0.6448 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03683/0.578, allocations: 27.2 MB / 0.6714 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.5805, allocations: 0.723 MB / 0.6721 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.5809, allocations: 208.3 kB / 0.6723 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.5809, allocations: 8.297 kB / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.581, allocations: 46.5 kB / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.675e-06/0.581, allocations: 0 / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007073/0.5881, allocations: 1.966 MB / 0.6743 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.5882, allocations: 243.3 kB / 0.6745 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009819/0.598, allocations: 4.758 MB / 0.6792 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.461e-05/0.5981, allocations: 41.7 kB / 0.6792 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00295/0.6011, allocations: 2.833 MB / 0.682 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.6014, allocations: 206.8 kB / 0.6822 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.6027, allocations: 0.7263 MB / 0.6829 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6028, allocations: 301.1 kB / 0.6832 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.6042, allocations: 0.7954 MB / 0.6839 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/0.6078, allocations: 3.418 MB / 0.6873 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/0.613, allocations: 4.554 MB / 0.6917 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.33e-05/0.613, allocations: 28 kB / 0.6918 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007193/0.6202, allocations: 4.064 MB / 0.6957 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.57e-05/0.6203, allocations: 44 kB / 0.6958 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.6204, allocations: 92 kB / 0.6959 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.6205, allocations: 124 kB / 0.696 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.6229, allocations: 0.858 MB / 0.6968 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001648/0.623, allocations: 179.7 kB / 0.697 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.6264, allocations: 0.5468 MB / 0.6975 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/0.6267, allocations: 236 kB / 0.6977 GB, free: 3.449 MB / 0.5294 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.002723/0.6294, allocations: 1.626 MB / 0.6993 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008887/0.6303, allocations: 409.3 kB / 0.6997 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009739/0.6313, allocations: 393.2 kB / 0.7001 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6313, allocations: 8 kB / 0.7001 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.6313, allocations: 0 / 0.7001 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.6313, allocations: 4 kB / 0.7001 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008672/0.64, allocations: 4.724 MB / 0.7047 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/0.64, allocations: 13 kB / 0.7047 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.6403, allocations: 115.8 kB / 0.7048 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.391e-05/0.6404, allocations: 24 kB / 0.7049 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.6404, allocations: 28 kB / 0.7049 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-05/0.6404, allocations: 27.86 kB / 0.7049 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.876e-05/0.6404, allocations: 20.2 kB / 0.7049 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.6425, allocations: 1.255 MB / 0.7062 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.6438, allocations: 429.1 kB / 0.7066 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008503/0.6447, allocations: 31.98 kB / 0.7066 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.646, allocations: 39.97 kB / 0.7066 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/0.6461, allocations: 87.55 kB / 0.7067 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.6461, allocations: 36 kB / 0.7068 GB, free: 9.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005414/0.6515, allocations: 3.128 MB / 0.7098 GB, free: 6.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6515, allocations: 0 / 0.7098 GB, free: 6.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00338/0.6549, allocations: 0.8383 MB / 0.7106 GB, free: 5.758 MB / 0.545 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.001957/0.6569, allocations: 1.848 MB / 0.7124 GB, free: 3.691 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003225/0.6601, allocations: 1.87 MB / 0.7143 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6601, allocations: 1.938 kB / 0.7143 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.6605, allocations: 258.4 kB / 0.7145 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/0.6641, allocations: 0.6732 MB / 0.7152 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2921/0.9562, allocations: 34.72 MB / 0.7491 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/0.9583, allocations: 2.85 MB / 0.7519 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002242/0.9605, allocations: 1.154 MB / 0.753 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/0.962, allocations: 1.694 MB / 0.7546 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.962, allocations: 4 kB / 0.7546 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.066, allocations: 69.6 MB / 0.8226 GB, free: 70.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.43/21.5, allocations: 7.219 kB / 0.8226 GB, free: 70.09 MB / 0.5606 GB " [Timeout remaining time 638] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.57135545811616]