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.001762/0.001762, allocations: 121 kB / 18.5 MB, free: 4.562 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.002151/0.002151, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2543/0.2543, allocations: 46.93 MB / 357.8 MB, free: 10.29 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.001995/0.001995, allocations: 67.83 kB / 0.4916 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1209, allocations: 65.99 MB / 0.556 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01765/0.1385, allocations: 14.7 MB / 0.5704 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.1497, allocations: 4.686 MB / 0.575 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.1524, allocations: 119.4 kB / 0.5751 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006615/0.159, allocations: 3.142 MB / 0.5782 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.1643, allocations: 2.078 MB / 0.5802 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.1665, allocations: 1.01 MB / 0.5812 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.1766, allocations: 6.956 MB / 0.588 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004469/0.1811, allocations: 3.036 MB / 0.5909 GB, free: 1.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.1846, allocations: 1.854 MB / 0.5927 GB, free: 52 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2463/0.4309, allocations: 2.819 MB / 0.5955 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.4325, allocations: 357.9 kB / 0.5958 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.4354, allocations: 0.9115 MB / 0.5967 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003743/0.4391, allocations: 2.362 MB / 0.599 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005594/0.4447, allocations: 2.379 MB / 0.6014 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.4562, allocations: 6.972 MB / 0.6082 GB, free: 8.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4563, allocations: 0 / 0.6082 GB, free: 8.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4563, allocations: 0 / 0.6082 GB, free: 8.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000315/0.4566, allocations: 1.594 kB / 0.6082 GB, free: 8.895 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.02081/0.4774, allocations: 5.562 MB / 0.6136 GB, free: 6.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.4774, allocations: 10.38 kB / 0.6136 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001615/0.4776, allocations: 84.3 kB / 0.6137 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002628/0.4802, allocations: 0.5127 MB / 0.6142 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1108/0.5911, allocations: 8.226 MB / 0.6222 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.6019, allocations: 5.219 MB / 0.6273 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.602, allocations: 210.3 kB / 0.6275 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.6031, allocations: 292.2 kB / 0.6278 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.6174, allocations: 6.91 MB / 0.6346 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/0.6176, allocations: 59.06 kB / 0.6346 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005891/0.6182, allocations: 125.6 kB / 0.6347 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/0.62, allocations: 1.003 MB / 0.6357 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.632, allocations: 4.923 MB / 0.6405 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03913/0.6711, allocations: 27.31 MB / 0.6672 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.6739, allocations: 0.7177 MB / 0.6679 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.6743, allocations: 208.3 kB / 0.6681 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.6743, allocations: 7.906 kB / 0.6681 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.6744, allocations: 45.28 kB / 0.6681 GB, free: 10.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.194e-06/0.6744, allocations: 0 / 0.6681 GB, free: 10.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.007628/0.682, allocations: 1.979 MB / 0.6701 GB, free: 8.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.6821, allocations: 238 kB / 0.6703 GB, free: 8.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009213/0.6914, allocations: 4.762 MB / 0.6749 GB, free: 3.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/0.6914, allocations: 41.64 kB / 0.675 GB, free: 3.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003012/0.6945, allocations: 2.829 MB / 0.6777 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.6948, allocations: 202.1 kB / 0.6779 GB, free: 404 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.6959, allocations: 0.7272 MB / 0.6786 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.696, allocations: 301.1 kB / 0.6789 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.6975, allocations: 0.7954 MB / 0.6797 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/0.7013, allocations: 3.42 MB / 0.6831 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005698/0.707, allocations: 4.552 MB / 0.6875 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.099e-05/0.7071, allocations: 28 kB / 0.6875 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008038/0.7151, allocations: 4.066 MB / 0.6915 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.388e-05/0.7152, allocations: 45.88 kB / 0.6915 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/0.7153, allocations: 102.2 kB / 0.6916 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.7155, allocations: 123.9 kB / 0.6918 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.7181, allocations: 0.8559 MB / 0.6926 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001636/0.7183, allocations: 184.6 kB / 0.6928 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/0.7223, allocations: 0.5468 MB / 0.6933 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004803/0.7228, allocations: 237.1 kB / 0.6935 GB, free: 14.88 MB / 0.5137 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.003132/0.7259, allocations: 1.623 MB / 0.6951 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009422/0.7269, allocations: 397.4 kB / 0.6955 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009597/0.7278, allocations: 397.2 kB / 0.6959 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.7278, allocations: 8 kB / 0.6959 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.7278, allocations: 4 kB / 0.6959 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7278, allocations: 0 / 0.6959 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008964/0.7368, allocations: 4.755 MB / 0.7005 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.7368, allocations: 17 kB / 0.7005 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.7372, allocations: 122.8 kB / 0.7007 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-05/0.7372, allocations: 16 kB / 0.7007 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.7372, allocations: 31.94 kB / 0.7007 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.358e-05/0.7373, allocations: 23.88 kB / 0.7007 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.817e-05/0.7373, allocations: 23.92 kB / 0.7007 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.7393, allocations: 1.255 MB / 0.702 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.7406, allocations: 0.4951 MB / 0.7025 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/0.7411, allocations: 31.98 kB / 0.7025 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.7422, allocations: 35.98 kB / 0.7025 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.7424, allocations: 83.56 kB / 0.7026 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.7424, allocations: 36 kB / 0.7026 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006089/0.7485, allocations: 3.132 MB / 0.7057 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7485, allocations: 0 / 0.7057 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004231/0.7527, allocations: 0.8305 MB / 0.7065 GB, free: 1.086 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.002307/0.755, allocations: 1.853 MB / 0.7083 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003498/0.7585, allocations: 1.867 MB / 0.7101 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.7585, allocations: 4 kB / 0.7101 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.7589, allocations: 263.2 kB / 0.7104 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/0.7629, allocations: 0.6585 MB / 0.711 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06195/0.8249, allocations: 34.74 MB / 0.745 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004359/0.8292, allocations: 2.846 MB / 0.7477 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003264/0.8325, allocations: 1.154 MB / 0.7489 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/0.8353, allocations: 1.698 MB / 0.7505 GB, free: 144 kB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.8353, allocations: 0 / 0.7505 GB, free: 144 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/0.9578, allocations: 66.85 MB / 0.8158 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.64/19.59, allocations: 7.922 kB / 0.8158 GB, free: 13.75 MB / 0.6387 GB " [Timeout remaining time 640] (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: 24.86366261000512]