Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002028/0.002028, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.5 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.95 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 87.81 kB / 0.4969 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3259, allocations: 66.07 MB / 0.5614 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01546/0.3413, allocations: 12.61 MB / 0.5737 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009862/0.3512, allocations: 4.482 MB / 0.5781 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.353, allocations: 119.4 kB / 0.5782 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006107/0.3591, allocations: 3.018 MB / 0.5812 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.3647, allocations: 2.09 MB / 0.5832 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.3671, allocations: 1.022 MB / 0.5842 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.3779, allocations: 6.953 MB / 0.591 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004578/0.3825, allocations: 2.867 MB / 0.5938 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.3859, allocations: 1.85 MB / 0.5956 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004234/0.3902, allocations: 2.828 MB / 0.5984 GB, free: 14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008646/0.391, allocations: 356 kB / 0.5987 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.3929, allocations: 0.8817 MB / 0.5996 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.3953, allocations: 2.365 MB / 0.6019 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002488/0.3978, allocations: 1.877 MB / 0.6037 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008071/0.4058, allocations: 7.033 MB / 0.6106 GB, free: 1.461 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4058, allocations: 0 / 0.6106 GB, free: 1.461 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4059, allocations: 0 / 0.6106 GB, free: 1.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001433/0.406, allocations: 0 / 0.6106 GB, free: 1.461 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.01339/0.4194, allocations: 5.487 MB / 0.616 GB, free: 11.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4194, allocations: 12.03 kB / 0.616 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001115/0.4195, allocations: 81.52 kB / 0.616 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000842/0.4204, allocations: 0.512 MB / 0.6165 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09446/0.5148, allocations: 8.226 MB / 0.6246 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.5263, allocations: 5.126 MB / 0.6296 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.5265, allocations: 210.2 kB / 0.6298 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000653/0.5272, allocations: 287.8 kB / 0.6301 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.5398, allocations: 6.985 MB / 0.6369 GB, free: 5.801 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.54, allocations: 55.64 kB / 0.6369 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.5403, allocations: 127.9 kB / 0.6371 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001626/0.5419, allocations: 1.002 MB / 0.638 GB, free: 4.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.5525, allocations: 4.932 MB / 0.6428 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03448/0.587, allocations: 26.16 MB / 0.6684 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.5896, allocations: 0.7153 MB / 0.6691 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.5899, allocations: 220.5 kB / 0.6693 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.59, allocations: 8 kB / 0.6693 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.59, allocations: 50.86 kB / 0.6694 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.465e-06/0.59, allocations: 0 / 0.6694 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007017/0.597, allocations: 1.974 MB / 0.6713 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.5972, allocations: 239.3 kB / 0.6715 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0074/0.6046, allocations: 4.758 MB / 0.6762 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.6046, allocations: 33.7 kB / 0.6762 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002686/0.6073, allocations: 2.849 MB / 0.679 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.6076, allocations: 194.8 kB / 0.6792 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009758/0.6086, allocations: 0.7302 MB / 0.6799 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6088, allocations: 301.1 kB / 0.6802 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.6101, allocations: 0.7915 MB / 0.6809 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003647/0.6137, allocations: 3.497 MB / 0.6843 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005771/0.6195, allocations: 4.538 MB / 0.6888 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.476e-05/0.6196, allocations: 28 kB / 0.6888 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008226/0.6278, allocations: 4.072 MB / 0.6928 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.6279, allocations: 44 kB / 0.6928 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/0.628, allocations: 92.12 kB / 0.6929 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.6282, allocations: 128 kB / 0.693 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.6306, allocations: 0.8623 MB / 0.6939 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001565/0.6308, allocations: 179.3 kB / 0.694 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/0.6342, allocations: 0.5585 MB / 0.6946 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/0.6346, allocations: 236 kB / 0.6948 GB, free: 6.855 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.002577/0.6372, allocations: 1.619 MB / 0.6964 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009127/0.6381, allocations: 401.3 kB / 0.6968 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007248/0.6388, allocations: 397.2 kB / 0.6972 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.6388, allocations: 8 kB / 0.6972 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.6388, allocations: 0 / 0.6972 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.6388, allocations: 7.984 kB / 0.6972 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007103/0.646, allocations: 4.561 MB / 0.7016 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.646, allocations: 19.98 kB / 0.7016 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.6463, allocations: 115.9 kB / 0.7018 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.28e-05/0.6463, allocations: 16 kB / 0.7018 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.6464, allocations: 31.98 kB / 0.7018 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.6464, allocations: 23.77 kB / 0.7018 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.957e-05/0.6464, allocations: 23.88 kB / 0.7018 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.6481, allocations: 1.263 MB / 0.7031 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008478/0.6489, allocations: 425.1 kB / 0.7035 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/0.6493, allocations: 28 kB / 0.7035 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/0.6502, allocations: 35.97 kB / 0.7035 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.6503, allocations: 83.55 kB / 0.7036 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.6504, allocations: 36 kB / 0.7037 GB, free: 13.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004917/0.6553, allocations: 3.136 MB / 0.7067 GB, free: 10.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6553, allocations: 0 / 0.7067 GB, free: 10.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003489/0.6588, allocations: 0.8344 MB / 0.7075 GB, free: 9.336 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.002034/0.6608, allocations: 1.837 MB / 0.7093 GB, free: 7.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00323/0.664, allocations: 1.879 MB / 0.7112 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.664, allocations: 4 kB / 0.7112 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.6644, allocations: 258.5 kB / 0.7114 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/0.6676, allocations: 0.6629 MB / 0.7121 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2988/0.9663, allocations: 34.71 MB / 0.746 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.9684, allocations: 2.308 MB / 0.7482 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002161/0.9706, allocations: 1.151 MB / 0.7493 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.9719, allocations: 1.698 MB / 0.751 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.9719, allocations: 4 kB / 0.751 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09539/1.067, allocations: 69.37 MB / 0.8188 GB, free: 73.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.38/21.44, allocations: 14.3 kB / 0.8188 GB, free: 73.96 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 26.613223220105283]