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.0013/0.0013, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001511/0.001511, allocations: 216.5 kB / 24.53 MB, free: 4.008 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.232/0.232, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.002264/0.002264, allocations: 75.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3293, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01664/0.3459, allocations: 14.72 MB / 0.5759 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.3569, allocations: 4.715 MB / 0.5805 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.3593, allocations: 119.4 kB / 0.5806 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006117/0.3654, allocations: 3.154 MB / 0.5837 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.3711, allocations: 2.074 MB / 0.5857 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.3734, allocations: 1.03 MB / 0.5867 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.3834, allocations: 6.942 MB / 0.5935 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004563/0.388, allocations: 2.863 MB / 0.5963 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.3916, allocations: 1.85 MB / 0.5981 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004816/0.3964, allocations: 2.836 MB / 0.6008 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.3975, allocations: 356 kB / 0.6012 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.3996, allocations: 0.9053 MB / 0.6021 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002675/0.4023, allocations: 2.365 MB / 0.6044 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003959/0.4063, allocations: 2.382 MB / 0.6067 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009473/0.4158, allocations: 6.978 MB / 0.6135 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4158, allocations: 0 / 0.6135 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4158, allocations: 0 / 0.6135 GB, free: 14.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002099/0.416, allocations: 4 kB / 0.6135 GB, free: 14.79 MB / 462.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.01511/0.4311, allocations: 5.484 MB / 0.6189 GB, free: 9.246 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4311, allocations: 12.03 kB / 0.6189 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.787e-05/0.4312, allocations: 81.52 kB / 0.619 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001124/0.4323, allocations: 0.5081 MB / 0.6195 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1384/0.5707, allocations: 8.222 MB / 0.6275 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.5849, allocations: 5.122 MB / 0.6325 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.5851, allocations: 213.4 kB / 0.6327 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.5863, allocations: 287.8 kB / 0.633 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.601, allocations: 6.902 MB / 0.6397 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002449/0.6013, allocations: 67.53 kB / 0.6398 GB, free: 3.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007136/0.602, allocations: 135.9 kB / 0.6399 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/0.6038, allocations: 0.9978 MB / 0.6409 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.6163, allocations: 4.928 MB / 0.6457 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/0.6583, allocations: 27.2 MB / 0.6723 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.6612, allocations: 0.7114 MB / 0.6729 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.6616, allocations: 212.2 kB / 0.6732 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.6616, allocations: 12.3 kB / 0.6732 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.6617, allocations: 42.56 kB / 0.6732 GB, free: 128 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.945e-06/0.6617, allocations: 0 / 0.6732 GB, free: 128 kB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007713/0.6694, allocations: 1.971 MB / 0.6751 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.6696, allocations: 239.3 kB / 0.6754 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009242/0.6788, allocations: 4.762 MB / 0.68 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.6789, allocations: 37.7 kB / 0.68 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003083/0.682, allocations: 2.841 MB / 0.6828 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.6823, allocations: 198.8 kB / 0.683 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.6834, allocations: 0.7263 MB / 0.6837 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6836, allocations: 305.1 kB / 0.684 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.685, allocations: 0.7954 MB / 0.6848 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004204/0.6892, allocations: 3.418 MB / 0.6881 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006009/0.6952, allocations: 4.546 MB / 0.6926 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.901e-05/0.6953, allocations: 24 kB / 0.6926 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.009352/0.7046, allocations: 4.072 MB / 0.6966 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.935e-05/0.7047, allocations: 44 kB / 0.6966 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.7049, allocations: 96 kB / 0.6967 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.705, allocations: 120 kB / 0.6968 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.7077, allocations: 0.858 MB / 0.6976 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001782/0.7079, allocations: 179.3 kB / 0.6978 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.7121, allocations: 0.555 MB / 0.6984 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005894/0.7127, allocations: 232.1 kB / 0.6986 GB, free: 3.367 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.002773/0.7154, allocations: 1.626 MB / 0.7002 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008472/0.7163, allocations: 397.6 kB / 0.7005 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/0.717, allocations: 401.1 kB / 0.7009 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.717, allocations: 4 kB / 0.7009 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.717, allocations: 8 kB / 0.7009 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.7171, allocations: 7.984 kB / 0.7009 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007305/0.7244, allocations: 4.721 MB / 0.7056 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.7244, allocations: 16 kB / 0.7056 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.7247, allocations: 115.8 kB / 0.7057 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.7248, allocations: 20.03 kB / 0.7057 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.7248, allocations: 28 kB / 0.7057 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.642e-05/0.7248, allocations: 27.91 kB / 0.7058 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.046e-05/0.7249, allocations: 23.88 kB / 0.7058 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.7269, allocations: 1.259 MB / 0.707 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.7281, allocations: 429.1 kB / 0.7074 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003965/0.7285, allocations: 31.98 kB / 0.7074 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/0.7295, allocations: 31.98 kB / 0.7075 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.7296, allocations: 87.55 kB / 0.7076 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.7296, allocations: 32 kB / 0.7076 GB, free: 9.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005104/0.7348, allocations: 3.14 MB / 0.7107 GB, free: 6.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7348, allocations: 0 / 0.7107 GB, free: 6.508 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003862/0.7386, allocations: 0.8304 MB / 0.7115 GB, free: 5.676 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.002457/0.7411, allocations: 1.841 MB / 0.7133 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003603/0.7447, allocations: 1.872 MB / 0.7151 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.7447, allocations: 0 / 0.7151 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.7451, allocations: 262.3 kB / 0.7153 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/0.7485, allocations: 0.6632 MB / 0.716 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2996/1.048, allocations: 34.72 MB / 0.7499 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/1.051, allocations: 2.852 MB / 0.7527 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00274/1.054, allocations: 1.15 MB / 0.7538 GB, free: 141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002373/1.056, allocations: 1.698 MB / 0.7555 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/1.056, allocations: 4 kB / 0.7555 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09932/1.155, allocations: 69.65 MB / 0.8235 GB, free: 70.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.57/21.72, allocations: 4.062 kB / 0.8235 GB, free: 70.14 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.79914940102026]