Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.368, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01637/0.3844, allocations: 13.51 MB / 0.5437 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.3955, allocations: 4.17 MB / 0.5478 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004276/0.3999, allocations: 68.47 kB / 0.5478 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004242/0.4041, allocations: 1.819 MB / 0.5496 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005504/0.4097, allocations: 1.806 MB / 0.5514 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.4115, allocations: 0.5498 MB / 0.5519 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005875/0.4174, allocations: 3.898 MB / 0.5557 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004025/0.4215, allocations: 2.687 MB / 0.5584 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.4241, allocations: 1.37 MB / 0.5597 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/0.4271, allocations: 1.947 MB / 0.5616 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009572/0.4281, allocations: 292 kB / 0.5619 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.4306, allocations: 0.983 MB / 0.5628 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.433, allocations: 1.749 MB / 0.5645 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002961/0.436, allocations: 2.1 MB / 0.5666 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008674/0.4447, allocations: 6.889 MB / 0.5733 GB, free: 5.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4447, allocations: 0 / 0.5733 GB, free: 5.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4447, allocations: 0 / 0.5733 GB, free: 5.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002098/0.4449, allocations: 0 / 0.5733 GB, free: 5.766 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01016/0.4551, allocations: 4.54 MB / 0.5778 GB, free: 1.156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.4552, allocations: 12.03 kB / 0.5778 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/0.4566, allocations: 0.7658 MB / 0.5785 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.467, allocations: 3.118 MB / 0.5816 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00532/0.4724, allocations: 2.346 MB / 0.5838 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.4727, allocations: 221.5 kB / 0.5841 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.4737, allocations: 287.7 kB / 0.5843 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.4916, allocations: 11.11 MB / 0.5952 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.4917, allocations: 27.7 kB / 0.5952 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005716/0.4923, allocations: 135.8 kB / 0.5953 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00422/0.4965, allocations: 2.624 MB / 0.5979 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02063/0.5172, allocations: 10.38 MB / 0.608 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06211/0.5794, allocations: 36.46 MB / 0.6436 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009281/0.5887, allocations: 4.578 MB / 0.6481 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/0.5924, allocations: 2.396 MB / 0.6505 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.5938, allocations: 1.315 MB / 0.6517 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.362e-05/0.5939, allocations: 56.5 kB / 0.6518 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.982e-06/0.5939, allocations: 0 / 0.6518 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04306/0.637, allocations: 17.6 MB / 0.669 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.6371, allocations: 69.41 kB / 0.669 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004553/0.6416, allocations: 2.742 MB / 0.6717 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00041/0.6421, allocations: 61.69 kB / 0.6718 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/0.644, allocations: 2.768 MB / 0.6745 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/0.6452, allocations: 0.9094 MB / 0.6754 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002184/0.6474, allocations: 1.064 MB / 0.6764 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6476, allocations: 305.1 kB / 0.6767 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/0.6513, allocations: 2.314 MB / 0.679 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005734/0.6571, allocations: 5.21 MB / 0.6841 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009799/0.6669, allocations: 8.257 MB / 0.6921 GB, free: 7.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.009e-05/0.667, allocations: 28 kB / 0.6921 GB, free: 7.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01507/0.6821, allocations: 8.278 MB / 0.7002 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.6822, allocations: 55.98 kB / 0.7003 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/0.6824, allocations: 100 kB / 0.7004 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/0.6851, allocations: 0.9391 MB / 0.7013 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/0.6892, allocations: 1.217 MB / 0.7025 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.6962, allocations: 5.134 MB / 0.7075 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003617/0.6998, allocations: 299.8 kB / 0.7078 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009087/0.7007, allocations: 304 kB / 0.7081 GB, free: 6.582 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 646 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00421/0.705, allocations: 2.147 MB / 0.7102 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006916/0.7057, allocations: 280.3 kB / 0.7104 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009121/0.7148, allocations: 5.137 MB / 0.7155 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.309e-05/0.7149, allocations: 47.98 kB / 0.7155 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.715, allocations: 4 kB / 0.7155 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/0.715, allocations: 11.95 kB / 0.7155 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02268/0.7377, allocations: 11.87 MB / 0.7271 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.796e-05/0.7378, allocations: 12 kB / 0.7271 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.7395, allocations: 395.4 kB / 0.7275 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.742, allocations: 0.7772 MB / 0.7282 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003748/0.7424, allocations: 48 kB / 0.7283 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3173/1.06, allocations: 4.379 MB / 0.7326 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/1.06, allocations: 14.34 kB / 0.7326 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.071, allocations: 7.616 MB / 0.74 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/1.072, allocations: 332.2 kB / 0.7403 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00058/1.073, allocations: 51.2 kB / 0.7404 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.074, allocations: 148.9 kB / 0.7405 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/1.075, allocations: 156.4 kB / 0.7407 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.075, allocations: 73.88 kB / 0.7407 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002723/1.078, allocations: 1.687 MB / 0.7424 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/1.078, allocations: 0 / 0.7424 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004456/1.082, allocations: 0.9692 MB / 0.7433 GB, free: 172.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01001/1.092, allocations: 8.293 MB / 0.7514 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006939/1.099, allocations: 5.66 MB / 0.757 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.099, allocations: 1.641 kB / 0.757 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/1.101, allocations: 2.155 MB / 0.7591 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.104, allocations: 395 kB / 0.7595 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05272/1.156, allocations: 42.1 MB / 0.8006 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0036/1.16, allocations: 3.375 MB / 0.8039 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003714/1.164, allocations: 1.974 MB / 0.8058 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/1.166, allocations: 1.831 MB / 0.8076 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/1.166, allocations: 2.297 kB / 0.8076 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09185/1.258, allocations: 60.57 MB / 0.8667 GB, free: 50.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.85/24.11, allocations: 10.22 kB / 0.8667 GB, free: 50.61 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches