Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 112.5 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 46.93 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.91 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3207, allocations: 66.04 MB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01692/0.3376, allocations: 14.71 MB / 0.5758 GB, free: 5.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.3485, allocations: 4.727 MB / 0.5804 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.3514, allocations: 119.4 kB / 0.5805 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00652/0.358, allocations: 3.146 MB / 0.5836 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.3636, allocations: 2.086 MB / 0.5856 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.3659, allocations: 1.01 MB / 0.5866 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.3763, allocations: 6.967 MB / 0.5934 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004851/0.3811, allocations: 2.856 MB / 0.5962 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/0.3851, allocations: 1.85 MB / 0.598 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.39, allocations: 2.836 MB / 0.6008 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.3912, allocations: 356 kB / 0.6011 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.3938, allocations: 0.9052 MB / 0.602 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003611/0.3974, allocations: 2.365 MB / 0.6043 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005328/0.4027, allocations: 2.382 MB / 0.6066 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.414, allocations: 6.97 MB / 0.6134 GB, free: 14.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.414, allocations: 4 kB / 0.6134 GB, free: 14.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.414, allocations: 0 / 0.6134 GB, free: 14.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000302/0.4143, allocations: 0 / 0.6134 GB, free: 14.94 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.01704/0.4314, allocations: 5.498 MB / 0.6188 GB, free: 9.383 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4314, allocations: 12.03 kB / 0.6188 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001071/0.4315, allocations: 81.52 kB / 0.6189 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001436/0.433, allocations: 0.5081 MB / 0.6194 GB, free: 8.773 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1084/0.5414, allocations: 8.222 MB / 0.6274 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.5538, allocations: 5.122 MB / 0.6324 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.554, allocations: 213.4 kB / 0.6326 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.5551, allocations: 287.8 kB / 0.6329 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.5708, allocations: 6.906 MB / 0.6396 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/0.571, allocations: 63.59 kB / 0.6397 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007412/0.5718, allocations: 127.9 kB / 0.6398 GB, free: 3.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002071/0.5739, allocations: 1.002 MB / 0.6408 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.5865, allocations: 4.924 MB / 0.6456 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0383/0.6248, allocations: 27.2 MB / 0.6722 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.6275, allocations: 0.7191 MB / 0.6729 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.6279, allocations: 208.6 kB / 0.6731 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.6279, allocations: 15.97 kB / 0.6731 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.6279, allocations: 46.5 kB / 0.6731 GB, free: 272 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/0.6279, allocations: 0 / 0.6731 GB, free: 272 kB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007223/0.6352, allocations: 1.97 MB / 0.6751 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.6353, allocations: 239.3 kB / 0.6753 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008169/0.6435, allocations: 4.762 MB / 0.6799 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.6436, allocations: 37.7 kB / 0.68 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003106/0.6467, allocations: 2.841 MB / 0.6827 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.647, allocations: 198.8 kB / 0.6829 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.648, allocations: 0.7263 MB / 0.6836 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6482, allocations: 305.1 kB / 0.6839 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.6495, allocations: 0.7915 MB / 0.6847 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/0.6532, allocations: 3.425 MB / 0.6881 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00531/0.6585, allocations: 4.542 MB / 0.6925 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.507e-05/0.6585, allocations: 24 kB / 0.6925 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008545/0.6671, allocations: 4.072 MB / 0.6965 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.6672, allocations: 44 kB / 0.6965 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/0.6673, allocations: 96 kB / 0.6966 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.6674, allocations: 120 kB / 0.6967 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.6699, allocations: 0.8579 MB / 0.6976 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/0.67, allocations: 179.3 kB / 0.6977 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/0.6736, allocations: 0.5546 MB / 0.6983 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003989/0.674, allocations: 232 kB / 0.6985 GB, free: 3.504 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.002481/0.6765, allocations: 1.625 MB / 0.7001 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008235/0.6773, allocations: 397.4 kB / 0.7005 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.678, allocations: 397.2 kB / 0.7009 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.678, allocations: 4 kB / 0.7009 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.678, allocations: 0 / 0.7009 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.678, allocations: 11.98 kB / 0.7009 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007671/0.6857, allocations: 4.724 MB / 0.7055 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.6857, allocations: 16.97 kB / 0.7055 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.6861, allocations: 115.8 kB / 0.7056 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.965e-05/0.6861, allocations: 16 kB / 0.7056 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.6861, allocations: 32 kB / 0.7057 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-05/0.6862, allocations: 27.86 kB / 0.7057 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.599e-05/0.6862, allocations: 19.94 kB / 0.7057 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.688, allocations: 1.255 MB / 0.7069 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.689, allocations: 429.1 kB / 0.7073 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/0.6895, allocations: 31.98 kB / 0.7074 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.6905, allocations: 39.92 kB / 0.7074 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.6906, allocations: 83.61 kB / 0.7075 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.6906, allocations: 32.38 kB / 0.7075 GB, free: 9.785 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00576/0.6964, allocations: 3.14 MB / 0.7106 GB, free: 6.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6964, allocations: 0 / 0.7106 GB, free: 6.652 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004558/0.701, allocations: 0.8344 MB / 0.7114 GB, free: 5.816 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.002339/0.7033, allocations: 1.841 MB / 0.7132 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003537/0.7068, allocations: 1.878 MB / 0.715 GB, free: 1.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/0.7068, allocations: 4 kB / 0.715 GB, free: 1.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.7073, allocations: 256.3 kB / 0.7153 GB, free: 1.652 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/0.7112, allocations: 0.668 MB / 0.7159 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2894/1.001, allocations: 34.73 MB / 0.7498 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/1.003, allocations: 2.845 MB / 0.7526 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002444/1.005, allocations: 1.154 MB / 0.7538 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/1.007, allocations: 1.702 MB / 0.7554 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.482e-06/1.007, allocations: 0 / 0.7554 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09673/1.104, allocations: 69.64 MB / 0.8234 GB, free: 70.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.24/21.35, allocations: 10.75 kB / 0.8234 GB, free: 70.54 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 26.42440376698505]