Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001636/0.001636, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001559/0.001559, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2159/0.2159, allocations: 44.92 MB / 358.8 MB, free: 6.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3226, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01678/0.3393, allocations: 14.72 MB / 0.5714 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.3495, allocations: 4.719 MB / 0.576 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.352, allocations: 123.3 kB / 0.5761 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006394/0.3584, allocations: 3.146 MB / 0.5792 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005836/0.3642, allocations: 2.085 MB / 0.5812 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.3663, allocations: 1.014 MB / 0.5822 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.3764, allocations: 6.961 MB / 0.589 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.3805, allocations: 2.856 MB / 0.5918 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00473/0.3852, allocations: 1.854 MB / 0.5936 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00589/0.3911, allocations: 2.832 MB / 0.5964 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008987/0.392, allocations: 356 kB / 0.5967 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.3939, allocations: 0.9053 MB / 0.5976 GB, free: 14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002606/0.3965, allocations: 2.361 MB / 0.5999 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002844/0.3994, allocations: 2.382 MB / 0.6022 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008507/0.4079, allocations: 6.978 MB / 0.609 GB, free: 2.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4079, allocations: 0 / 0.609 GB, free: 2.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4079, allocations: 0 / 0.609 GB, free: 2.234 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.4081, allocations: 0 / 0.609 GB, free: 2.234 MB / 446.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.01338/0.4215, allocations: 5.496 MB / 0.6144 GB, free: 12.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4215, allocations: 12.03 kB / 0.6144 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001011/0.4225, allocations: 0.5081 MB / 0.6149 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09208/0.5146, allocations: 8.222 MB / 0.623 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.5269, allocations: 5.122 MB / 0.628 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.5272, allocations: 205.6 kB / 0.6281 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008831/0.528, allocations: 295.8 kB / 0.6284 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.5407, allocations: 6.902 MB / 0.6352 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.5409, allocations: 59.59 kB / 0.6352 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/0.5412, allocations: 127.9 kB / 0.6354 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001565/0.5428, allocations: 1.002 MB / 0.6363 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.5528, allocations: 4.936 MB / 0.6411 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03682/0.5896, allocations: 27.19 MB / 0.6677 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.5922, allocations: 0.723 MB / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.5925, allocations: 208.6 kB / 0.6686 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.462e-05/0.5926, allocations: 11.92 kB / 0.6686 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.5926, allocations: 46.55 kB / 0.6687 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.5926, allocations: 4 kB / 0.6687 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007027/0.5997, allocations: 1.971 MB / 0.6706 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.5998, allocations: 239.3 kB / 0.6708 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00749/0.6073, allocations: 4.766 MB / 0.6755 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.052e-05/0.6074, allocations: 29.7 kB / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002647/0.61, allocations: 2.845 MB / 0.6783 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.6103, allocations: 198.8 kB / 0.6785 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008848/0.6112, allocations: 0.7263 MB / 0.6792 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6113, allocations: 301.1 kB / 0.6795 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.6126, allocations: 0.7915 MB / 0.6802 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003402/0.616, allocations: 3.425 MB / 0.6836 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005309/0.6213, allocations: 4.542 MB / 0.688 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.562e-05/0.6213, allocations: 32 kB / 0.688 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007648/0.629, allocations: 4.065 MB / 0.692 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.6291, allocations: 44 kB / 0.6921 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.6292, allocations: 96.08 kB / 0.6921 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.6293, allocations: 120 kB / 0.6923 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.6316, allocations: 0.8538 MB / 0.6931 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/0.6317, allocations: 195.3 kB / 0.6933 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/0.635, allocations: 0.5546 MB / 0.6938 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/0.6353, allocations: 232 kB / 0.694 GB, free: 6.875 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.003419/0.6387, allocations: 1.629 MB / 0.6956 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/0.6399, allocations: 397.4 kB / 0.696 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.6409, allocations: 397.2 kB / 0.6964 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6409, allocations: 4 kB / 0.6964 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.641, allocations: 4 kB / 0.6964 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.641, allocations: 0 / 0.6964 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007898/0.6489, allocations: 4.732 MB / 0.701 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.6489, allocations: 12 kB / 0.701 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.6492, allocations: 115.8 kB / 0.7011 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/0.6492, allocations: 16.78 kB / 0.7012 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.6493, allocations: 28 kB / 0.7012 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-05/0.6493, allocations: 27.88 kB / 0.7012 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/0.6493, allocations: 19.94 kB / 0.7012 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.6508, allocations: 1.263 MB / 0.7025 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000996/0.6518, allocations: 425.1 kB / 0.7029 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/0.6523, allocations: 35.92 kB / 0.7029 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009573/0.6532, allocations: 31.98 kB / 0.7029 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.6533, allocations: 87.55 kB / 0.703 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.6534, allocations: 36.19 kB / 0.7031 GB, free: 13.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004983/0.6583, allocations: 3.136 MB / 0.7061 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6583, allocations: 0 / 0.7061 GB, free: 10.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003573/0.6619, allocations: 0.8344 MB / 0.7069 GB, free: 9.184 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.002031/0.664, allocations: 1.841 MB / 0.7087 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003424/0.6674, allocations: 1.879 MB / 0.7106 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.6674, allocations: 4 kB / 0.7106 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.6678, allocations: 254.3 kB / 0.7108 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.6711, allocations: 0.6614 MB / 0.7115 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3307/1.002, allocations: 34.73 MB / 0.7454 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003591/1.005, allocations: 2.851 MB / 0.7482 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002942/1.008, allocations: 1.152 MB / 0.7493 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/1.01, allocations: 1.699 MB / 0.7509 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.01, allocations: 0 / 0.7509 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.12, allocations: 69.63 MB / 0.8189 GB, free: 76.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.45/21.57, allocations: 3.938 kB / 0.8189 GB, free: 76.54 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 25.657170094083995]