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.001725/0.001725, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00219/0.00219, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2295/0.2295, allocations: 46.97 MB / 361.7 MB, free: 4.039 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.001977/0.001977, allocations: 59.91 kB / 0.4969 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 66.04 MB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.01578/0.3355, allocations: 12.62 MB / 0.5737 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.3457, allocations: 4.474 MB / 0.578 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.3479, allocations: 131.2 kB / 0.5782 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006159/0.354, allocations: 3.014 MB / 0.5811 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.3592, allocations: 2.097 MB / 0.5832 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.3613, allocations: 1.01 MB / 0.5841 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.3722, allocations: 6.961 MB / 0.5909 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005276/0.3775, allocations: 2.852 MB / 0.5937 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.3813, allocations: 1.862 MB / 0.5955 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/0.3862, allocations: 2.828 MB / 0.5983 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.3874, allocations: 356 kB / 0.5986 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3901, allocations: 0.8819 MB / 0.5995 GB, free: 13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003557/0.3937, allocations: 2.365 MB / 0.6018 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0045/0.3982, allocations: 1.877 MB / 0.6036 GB, free: 8.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009513/0.4077, allocations: 7.029 MB / 0.6105 GB, free: 1.684 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4077, allocations: 0 / 0.6105 GB, free: 1.684 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4077, allocations: 0 / 0.6105 GB, free: 1.684 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002243/0.4079, allocations: 0 / 0.6105 GB, free: 1.684 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.01539/0.4233, allocations: 5.492 MB / 0.6159 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.4234, allocations: 12.03 kB / 0.6159 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001227/0.4235, allocations: 81.5 kB / 0.616 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001252/0.4248, allocations: 0.5198 MB / 0.6165 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09393/0.5187, allocations: 8.215 MB / 0.6245 GB, free: 3.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.5306, allocations: 5.13 MB / 0.6295 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.5308, allocations: 213.4 kB / 0.6297 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007998/0.5316, allocations: 287.8 kB / 0.63 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.5438, allocations: 6.985 MB / 0.6368 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.5439, allocations: 59.59 kB / 0.6369 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.5442, allocations: 131.9 kB / 0.637 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00163/0.5459, allocations: 0.9939 MB / 0.638 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.5562, allocations: 4.939 MB / 0.6428 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03474/0.591, allocations: 26.16 MB / 0.6683 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.5936, allocations: 0.7193 MB / 0.669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.594, allocations: 208.4 kB / 0.6692 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.594, allocations: 15.94 kB / 0.6692 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.594, allocations: 46.5 kB / 0.6693 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/0.5941, allocations: 0 / 0.6693 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.007244/0.6013, allocations: 1.958 MB / 0.6712 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.6015, allocations: 247.2 kB / 0.6714 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007864/0.6093, allocations: 4.758 MB / 0.6761 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.6094, allocations: 33.7 kB / 0.6761 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002781/0.6122, allocations: 2.841 MB / 0.6789 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.6125, allocations: 194.8 kB / 0.6791 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.6135, allocations: 0.7303 MB / 0.6798 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6137, allocations: 305.1 kB / 0.6801 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.615, allocations: 0.7954 MB / 0.6809 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/0.6186, allocations: 3.489 MB / 0.6843 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/0.6244, allocations: 4.554 MB / 0.6887 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.818e-05/0.6244, allocations: 28 kB / 0.6887 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007621/0.632, allocations: 4.064 MB / 0.6927 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.6321, allocations: 48 kB / 0.6927 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-05/0.6322, allocations: 92 kB / 0.6928 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.6323, allocations: 124 kB / 0.693 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.6346, allocations: 0.8581 MB / 0.6938 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001481/0.6347, allocations: 179.3 kB / 0.694 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.6378, allocations: 0.5468 MB / 0.6945 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/0.6381, allocations: 232 kB / 0.6947 GB, free: 7.098 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.002249/0.6403, allocations: 1.629 MB / 0.6963 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/0.641, allocations: 401.4 kB / 0.6967 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/0.6416, allocations: 393.2 kB / 0.6971 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6416, allocations: 8 kB / 0.6971 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.6416, allocations: 384 / 0.6971 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6417, allocations: 4 kB / 0.6971 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006942/0.6486, allocations: 4.572 MB / 0.7015 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.6486, allocations: 20.12 kB / 0.7016 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.6489, allocations: 124.6 kB / 0.7017 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-05/0.649, allocations: 16 kB / 0.7017 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.649, allocations: 32 kB / 0.7017 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.498e-05/0.649, allocations: 28.48 kB / 0.7018 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/0.649, allocations: 19.94 kB / 0.7018 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.6506, allocations: 1.252 MB / 0.703 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/0.6515, allocations: 429.1 kB / 0.7034 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.6519, allocations: 31.98 kB / 0.7034 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.6528, allocations: 35.98 kB / 0.7035 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6529, allocations: 87.55 kB / 0.7036 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.653, allocations: 28 kB / 0.7036 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005018/0.658, allocations: 3.144 MB / 0.7066 GB, free: 10.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.658, allocations: 0 / 0.7066 GB, free: 10.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003761/0.6617, allocations: 0.8382 MB / 0.7075 GB, free: 9.543 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.00237/0.6641, allocations: 1.837 MB / 0.7093 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003773/0.6679, allocations: 1.872 MB / 0.7111 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.6679, allocations: 4 kB / 0.7111 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.6683, allocations: 262.4 kB / 0.7113 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.6717, allocations: 0.6661 MB / 0.712 GB, free: 4.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2971/0.9689, allocations: 34.71 MB / 0.7459 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/0.9711, allocations: 2.309 MB / 0.7481 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002127/0.9732, allocations: 1.153 MB / 0.7493 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/0.9747, allocations: 1.694 MB / 0.7509 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.9747, allocations: 4 kB / 0.7509 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/1.074, allocations: 69.38 MB / 0.8187 GB, free: 74.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.87/21.95, allocations: 8.062 kB / 0.8187 GB, free: 74.55 MB / 0.5606 GB " [Timeout remaining time 638] (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: 27.071011352003552]