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.002007/0.002007, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002266/0.002266, allocations: 214 kB / 23.73 MB, free: 4.16 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2545/0.2545, allocations: 44.93 MB / 358.8 MB, free: 6.031 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.002091/0.002091, allocations: 67.89 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3214, allocations: 65.48 MB / 0.557 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01556/0.337, allocations: 12.69 MB / 0.5693 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3477, allocations: 4.488 MB / 0.5737 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.3503, allocations: 119.4 kB / 0.5738 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006116/0.3564, allocations: 3.025 MB / 0.5768 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005285/0.3617, allocations: 2.097 MB / 0.5788 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.3638, allocations: 1.018 MB / 0.5798 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009958/0.3738, allocations: 6.964 MB / 0.5866 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004258/0.3781, allocations: 2.836 MB / 0.5894 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.3814, allocations: 1.854 MB / 0.5912 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004436/0.3859, allocations: 2.699 MB / 0.5939 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.3869, allocations: 364 kB / 0.5942 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.3889, allocations: 0.8701 MB / 0.5951 GB, free: 304 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002504/0.3914, allocations: 2.357 MB / 0.5974 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002746/0.3941, allocations: 1.881 MB / 0.5992 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008539/0.4027, allocations: 7.021 MB / 0.6061 GB, free: 4.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4027, allocations: 0 / 0.6061 GB, free: 4.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4027, allocations: 0 / 0.6061 GB, free: 4.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001861/0.4029, allocations: 3.938 kB / 0.6061 GB, free: 4.992 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.01436/0.4172, allocations: 5.498 MB / 0.6114 GB, free: 15.44 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4173, allocations: 8.031 kB / 0.6114 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/0.4183, allocations: 0.512 MB / 0.6119 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1041/0.5224, allocations: 8.222 MB / 0.62 GB, free: 6.672 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.5345, allocations: 5.133 MB / 0.625 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.5348, allocations: 201.6 kB / 0.6252 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009719/0.5357, allocations: 295.8 kB / 0.6254 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.5489, allocations: 6.985 MB / 0.6323 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.5491, allocations: 59.59 kB / 0.6323 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.5495, allocations: 123.9 kB / 0.6324 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.5511, allocations: 0.9978 MB / 0.6334 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.562, allocations: 4.92 MB / 0.6382 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03571/0.5977, allocations: 26.17 MB / 0.6638 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.6003, allocations: 0.7191 MB / 0.6645 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.6006, allocations: 204.3 kB / 0.6647 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.6007, allocations: 15.94 kB / 0.6647 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.6007, allocations: 42.5 kB / 0.6647 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.196e-06/0.6007, allocations: 0 / 0.6647 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007083/0.6078, allocations: 1.963 MB / 0.6667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.608, allocations: 247.3 kB / 0.6669 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007258/0.6152, allocations: 4.912 MB / 0.6717 GB, free: 168 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.6153, allocations: 29.7 kB / 0.6717 GB, free: 132 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002461/0.6177, allocations: 2.841 MB / 0.6745 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.618, allocations: 202.8 kB / 0.6747 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00086/0.6188, allocations: 0.7224 MB / 0.6754 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.619, allocations: 309.1 kB / 0.6757 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.6203, allocations: 0.7915 MB / 0.6765 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/0.6236, allocations: 3.493 MB / 0.6799 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005305/0.6289, allocations: 4.554 MB / 0.6843 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.263e-05/0.629, allocations: 24 kB / 0.6843 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006972/0.636, allocations: 4.068 MB / 0.6883 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/0.636, allocations: 44 kB / 0.6884 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.663e-05/0.6361, allocations: 96.08 kB / 0.6884 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.6363, allocations: 124 kB / 0.6886 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.6385, allocations: 0.8538 MB / 0.6894 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/0.6386, allocations: 183.3 kB / 0.6896 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/0.6418, allocations: 0.5547 MB / 0.6901 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/0.6421, allocations: 236 kB / 0.6903 GB, free: 10.34 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.002325/0.6444, allocations: 1.621 MB / 0.6919 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006375/0.645, allocations: 401.4 kB / 0.6923 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006058/0.6456, allocations: 401.2 kB / 0.6927 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6456, allocations: 4 kB / 0.6927 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6457, allocations: 0 / 0.6927 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.6457, allocations: 4.188 kB / 0.6927 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006754/0.6524, allocations: 4.576 MB / 0.6972 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.6524, allocations: 12 kB / 0.6972 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.6527, allocations: 115.8 kB / 0.6973 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/0.6528, allocations: 19.94 kB / 0.6973 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.6528, allocations: 28.38 kB / 0.6973 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-05/0.6528, allocations: 27.92 kB / 0.6974 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/0.6528, allocations: 19.88 kB / 0.6974 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.6544, allocations: 1.252 MB / 0.6986 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/0.6553, allocations: 429 kB / 0.699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.6556, allocations: 31.98 kB / 0.699 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/0.6566, allocations: 35.98 kB / 0.6991 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.6567, allocations: 87.55 kB / 0.6992 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.6567, allocations: 36 kB / 0.6992 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004797/0.6615, allocations: 3.132 MB / 0.7022 GB, free: 13.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6615, allocations: 0 / 0.7022 GB, free: 13.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003325/0.6648, allocations: 0.8382 MB / 0.7031 GB, free: 12.81 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.001979/0.6668, allocations: 1.844 MB / 0.7049 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003364/0.6702, allocations: 1.866 MB / 0.7067 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/0.6702, allocations: 2 kB / 0.7067 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.6706, allocations: 266.4 kB / 0.7069 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/0.675, allocations: 0.6698 MB / 0.7076 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3068/0.9818, allocations: 34.7 MB / 0.7415 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/0.9843, allocations: 2.305 MB / 0.7437 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002538/0.9868, allocations: 1.153 MB / 0.7449 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/0.9885, allocations: 1.702 MB / 0.7465 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.954e-06/0.9885, allocations: 0 / 0.7465 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0998/1.088, allocations: 68.46 MB / 0.8134 GB, free: 81.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.9, allocations: 20 kB / 0.8134 GB, free: 81.89 MB / 0.5606 GB " [Timeout remaining time 643] (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: 21.06687450176105]