Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001751/0.001751, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.002158/0.002158, allocations: 221.3 kB / 23.01 MB, free: 5.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.25 MB / 330.3 MB, free: 9.617 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002563/0.002563, allocations: 67.89 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1191, allocations: 61.05 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01725/0.1364, allocations: 14.81 MB / 0.5306 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1464, allocations: 4.72 MB / 0.5352 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/0.1495, allocations: 119.4 kB / 0.5353 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006833/0.1563, allocations: 3.169 MB / 0.5384 GB, free: 456 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2251/0.3814, allocations: 2.122 MB / 0.5405 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.3837, allocations: 1.018 MB / 0.5415 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00967/0.3933, allocations: 6.366 MB / 0.5477 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004995/0.3983, allocations: 2.859 MB / 0.5505 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/0.4021, allocations: 1.874 MB / 0.5523 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004854/0.407, allocations: 2.852 MB / 0.5551 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.4084, allocations: 359.4 kB / 0.5555 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.4114, allocations: 0.9412 MB / 0.5564 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.4154, allocations: 2.398 MB / 0.5587 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004872/0.4203, allocations: 2.415 MB / 0.5611 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00891/0.4292, allocations: 7.065 MB / 0.568 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4292, allocations: 0 / 0.568 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4292, allocations: 0 / 0.568 GB, free: 2.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001907/0.4294, allocations: 0 / 0.568 GB, free: 2.352 MB / 414.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.01468/0.4441, allocations: 5.574 MB / 0.5734 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4441, allocations: 10.28 kB / 0.5734 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001056/0.4452, allocations: 0.5083 MB / 0.5739 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09344/0.5386, allocations: 8.233 MB / 0.582 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/0.5524, allocations: 6.453 MB / 0.5883 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.5526, allocations: 207.8 kB / 0.5885 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009054/0.5535, allocations: 290.7 kB / 0.5887 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.567, allocations: 6.92 MB / 0.5955 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.5672, allocations: 56.95 kB / 0.5956 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.5675, allocations: 123.8 kB / 0.5957 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.569, allocations: 0.9993 MB / 0.5967 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.5796, allocations: 4.929 MB / 0.6015 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04034/0.62, allocations: 27.26 MB / 0.6281 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.6226, allocations: 0.7211 MB / 0.6288 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.623, allocations: 216.2 kB / 0.629 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.6231, allocations: 10.45 kB / 0.629 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/0.6231, allocations: 46.56 kB / 0.6291 GB, free: 10.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 3.346e-06/0.6231, allocations: 0 / 0.6291 GB, free: 10.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.0142/0.6373, allocations: 2.21 MB / 0.6312 GB, free: 8.742 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.6375, allocations: 239.3 kB / 0.6314 GB, free: 8.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01488/0.6524, allocations: 4.847 MB / 0.6362 GB, free: 3.609 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.6525, allocations: 33.7 kB / 0.6362 GB, free: 3.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004572/0.6571, allocations: 2.855 MB / 0.639 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.6575, allocations: 200.9 kB / 0.6392 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.6595, allocations: 0.7308 MB / 0.6399 GB, free: 15.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6597, allocations: 305.1 kB / 0.6402 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.662, allocations: 0.7915 MB / 0.641 GB, free: 14.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/0.6674, allocations: 3.416 MB / 0.6443 GB, free: 9.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008027/0.6754, allocations: 4.548 MB / 0.6487 GB, free: 4.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-05/0.6755, allocations: 28 kB / 0.6488 GB, free: 4.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.01032/0.6858, allocations: 4.075 MB / 0.6527 GB, free: 12 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.686, allocations: 44.05 kB / 0.6528 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.6861, allocations: 96 kB / 0.6529 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.6863, allocations: 120 kB / 0.653 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.6888, allocations: 0.8615 MB / 0.6538 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001599/0.689, allocations: 179.3 kB / 0.654 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/0.6928, allocations: 0.5546 MB / 0.6545 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004468/0.6933, allocations: 240 kB / 0.6548 GB, free: 13.93 MB / 0.4981 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.00332/0.6966, allocations: 1.631 MB / 0.6564 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/0.6976, allocations: 405.8 kB / 0.6568 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.6987, allocations: 405.8 kB / 0.6571 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.6987, allocations: 4 kB / 0.6571 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6987, allocations: 4 kB / 0.6571 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6987, allocations: 2.859 kB / 0.6572 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008509/0.7072, allocations: 4.752 MB / 0.6618 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.7073, allocations: 20.06 kB / 0.6618 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.7076, allocations: 115.8 kB / 0.6619 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.7076, allocations: 16 kB / 0.6619 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.7076, allocations: 28 kB / 0.662 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-05/0.7077, allocations: 19.94 kB / 0.662 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.681e-05/0.7077, allocations: 27.86 kB / 0.662 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.7094, allocations: 1.263 MB / 0.6632 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.7106, allocations: 433.1 kB / 0.6637 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/0.711, allocations: 31.98 kB / 0.6637 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009409/0.712, allocations: 35.92 kB / 0.6637 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.7121, allocations: 91.55 kB / 0.6638 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.7121, allocations: 32 kB / 0.6638 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0053/0.7174, allocations: 3.189 MB / 0.667 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7174, allocations: 0 / 0.667 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003932/0.7213, allocations: 0.8345 MB / 0.6678 GB, free: 160 kB / 0.4981 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.002032/0.7234, allocations: 1.857 MB / 0.6696 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003627/0.727, allocations: 1.871 MB / 0.6714 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/0.727, allocations: 4.844 kB / 0.6714 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.7274, allocations: 263.7 kB / 0.6717 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/0.7315, allocations: 0.6729 MB / 0.6723 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05983/0.7913, allocations: 35.19 MB / 0.7067 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/0.7948, allocations: 2.867 MB / 0.7095 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002911/0.7977, allocations: 1.161 MB / 0.7106 GB, free: 404 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/0.8002, allocations: 1.728 MB / 0.7123 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.8002, allocations: 0 / 0.7123 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3641/1.164, allocations: 70.38 MB / 0.781 GB, free: 206.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.02/21.19, allocations: 8.438 kB / 0.781 GB, free: 206.8 MB / 0.6075 GB " [Timeout remaining time 639] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Bodies/Bodies.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.34242027392611]