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.001817/0.001817, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002356/0.002356, allocations: 211 kB / 23.73 MB, free: 4.523 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.492/1.492, 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.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.2292/0.2292, allocations: 46.95 MB / 360.9 MB, free: 4.051 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 55.91 kB / 0.4961 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3279, allocations: 66.05 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01522/0.3432, allocations: 12.7 MB / 0.573 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.3528, allocations: 4.486 MB / 0.5774 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.3544, allocations: 119.4 kB / 0.5775 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00602/0.3605, allocations: 3.018 MB / 0.5804 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.3658, allocations: 2.098 MB / 0.5825 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.3679, allocations: 1.014 MB / 0.5835 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01037/0.3783, allocations: 6.965 MB / 0.5903 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003918/0.3822, allocations: 2.856 MB / 0.5931 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.3853, allocations: 1.858 MB / 0.5949 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004332/0.3896, allocations: 2.828 MB / 0.5976 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007221/0.3904, allocations: 356 kB / 0.598 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.392, allocations: 0.8858 MB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002403/0.3944, allocations: 2.357 MB / 0.6011 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.3968, allocations: 1.881 MB / 0.603 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007548/0.4044, allocations: 7.025 MB / 0.6098 GB, free: 1.586 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4044, allocations: 4 kB / 0.6098 GB, free: 1.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4044, allocations: 0 / 0.6098 GB, free: 1.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001177/0.4045, allocations: 0 / 0.6098 GB, free: 1.582 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.01256/0.4171, allocations: 5.489 MB / 0.6152 GB, free: 12.03 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4171, allocations: 8.031 kB / 0.6152 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007655/0.4179, allocations: 0.5158 MB / 0.6157 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09331/0.5112, allocations: 8.219 MB / 0.6237 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.5235, allocations: 5.13 MB / 0.6287 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.5237, allocations: 204.8 kB / 0.6289 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007428/0.5244, allocations: 295.8 kB / 0.6292 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.5373, allocations: 6.985 MB / 0.636 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.5375, allocations: 67.53 kB / 0.6361 GB, free: 5.938 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.5379, allocations: 123.9 kB / 0.6362 GB, free: 5.816 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/0.5396, allocations: 1.006 MB / 0.6372 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.5508, allocations: 4.92 MB / 0.642 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03589/0.5867, allocations: 26.16 MB / 0.6676 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.5893, allocations: 0.723 MB / 0.6683 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.5897, allocations: 204.3 kB / 0.6685 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.5897, allocations: 8 kB / 0.6685 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.5898, allocations: 46.48 kB / 0.6685 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.645e-06/0.5898, allocations: 8 kB / 0.6685 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007185/0.5969, allocations: 1.966 MB / 0.6704 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.5971, allocations: 239.3 kB / 0.6707 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007903/0.605, allocations: 4.913 MB / 0.6755 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/0.6051, allocations: 33.7 kB / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002751/0.6078, allocations: 2.837 MB / 0.6783 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.6081, allocations: 202.8 kB / 0.6785 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.6092, allocations: 0.7263 MB / 0.6792 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6093, allocations: 309.1 kB / 0.6795 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.6107, allocations: 0.7915 MB / 0.6802 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.6144, allocations: 3.493 MB / 0.6836 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/0.6201, allocations: 4.542 MB / 0.6881 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.878e-05/0.6201, allocations: 28 kB / 0.6881 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008112/0.6283, allocations: 4.072 MB / 0.6921 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/0.6283, allocations: 48 kB / 0.6921 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/0.6285, allocations: 92 kB / 0.6922 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.6286, allocations: 124 kB / 0.6923 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/0.6311, allocations: 0.858 MB / 0.6932 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001457/0.6312, allocations: 179.3 kB / 0.6933 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.6345, allocations: 0.5507 MB / 0.6939 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003189/0.6349, allocations: 236.4 kB / 0.6941 GB, free: 6.926 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.002475/0.6373, allocations: 1.621 MB / 0.6957 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000759/0.6381, allocations: 397.4 kB / 0.6961 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/0.6387, allocations: 393.2 kB / 0.6964 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.6388, allocations: 15.92 kB / 0.6965 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6388, allocations: 0 / 0.6965 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.6388, allocations: 3.984 kB / 0.6965 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/0.6458, allocations: 4.572 MB / 0.7009 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.6459, allocations: 19.98 kB / 0.701 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.6462, allocations: 107.8 kB / 0.7011 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.271e-05/0.6462, allocations: 20.77 kB / 0.7011 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.6463, allocations: 28 kB / 0.7011 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-05/0.6463, allocations: 23.94 kB / 0.7011 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/0.6463, allocations: 23.88 kB / 0.7011 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.6478, allocations: 1.259 MB / 0.7024 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.6489, allocations: 425.1 kB / 0.7028 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.6493, allocations: 31.94 kB / 0.7028 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009908/0.6503, allocations: 36.16 kB / 0.7028 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.6504, allocations: 91.55 kB / 0.7029 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.6504, allocations: 32 kB / 0.703 GB, free: 13.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00508/0.6555, allocations: 3.132 MB / 0.706 GB, free: 10.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6555, allocations: 4 kB / 0.706 GB, free: 10.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003783/0.6593, allocations: 0.8344 MB / 0.7068 GB, free: 9.391 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.002103/0.6614, allocations: 1.848 MB / 0.7086 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003346/0.6647, allocations: 1.872 MB / 0.7105 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/0.6648, allocations: 4.125 kB / 0.7105 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.6652, allocations: 262.5 kB / 0.7107 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/0.6688, allocations: 0.66 MB / 0.7114 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3176/0.9864, allocations: 34.7 MB / 0.7453 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/0.9886, allocations: 2.301 MB / 0.7475 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002473/0.9911, allocations: 1.161 MB / 0.7486 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/0.9927, allocations: 1.698 MB / 0.7503 GB, free: 143 MB / 0.5606 GB Notification: Performance of SimCode: time 9.81e-07/0.9927, allocations: 4 kB / 0.7503 GB, free: 143 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.097, allocations: 69.86 MB / 0.8185 GB, free: 74.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.75, allocations: 4 kB / 0.8185 GB, free: 74.11 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.868702732987003]