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.001461/0.001461, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, 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.453/1.453, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 75.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3441, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0135/0.3576, allocations: 13.5 MB / 0.5437 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008803/0.3665, allocations: 4.17 MB / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.3688, allocations: 67.47 kB / 0.5478 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.3727, allocations: 1.82 MB / 0.5496 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004778/0.3776, allocations: 1.813 MB / 0.5514 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.3791, allocations: 0.5498 MB / 0.5519 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005293/0.3845, allocations: 3.892 MB / 0.5557 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003889/0.3884, allocations: 2.683 MB / 0.5583 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.3908, allocations: 1.374 MB / 0.5597 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.3936, allocations: 1.943 MB / 0.5616 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007464/0.3944, allocations: 292 kB / 0.5619 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.3964, allocations: 0.9947 MB / 0.5628 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001595/0.398, allocations: 1.745 MB / 0.5645 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00227/0.4003, allocations: 2.104 MB / 0.5666 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006786/0.4071, allocations: 6.886 MB / 0.5733 GB, free: 5.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4071, allocations: 0 / 0.5733 GB, free: 5.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4071, allocations: 0 / 0.5733 GB, free: 5.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001622/0.4073, allocations: 0 / 0.5733 GB, free: 5.824 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.008444/0.4158, allocations: 4.536 MB / 0.5777 GB, free: 1.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4158, allocations: 16.02 kB / 0.5778 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001207/0.417, allocations: 0.758 MB / 0.5785 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.4277, allocations: 3.122 MB / 0.5816 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005771/0.4335, allocations: 2.358 MB / 0.5839 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.4337, allocations: 221.5 kB / 0.5841 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000885/0.4346, allocations: 283.7 kB / 0.5843 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.4516, allocations: 11.11 MB / 0.5952 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.4517, allocations: 31.72 kB / 0.5952 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005768/0.4523, allocations: 135.8 kB / 0.5954 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004326/0.4567, allocations: 2.624 MB / 0.5979 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/0.4764, allocations: 10.37 MB / 0.608 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0581/0.5345, allocations: 36.46 MB / 0.6436 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009286/0.5439, allocations: 4.574 MB / 0.6481 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/0.5472, allocations: 2.399 MB / 0.6505 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/0.5486, allocations: 1.315 MB / 0.6517 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.5486, allocations: 56.56 kB / 0.6518 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 8.065e-06/0.5487, allocations: 0 / 0.6518 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04058/0.5892, allocations: 17.6 MB / 0.669 GB, free: 1.777 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.5893, allocations: 73.41 kB / 0.6691 GB, free: 1.695 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00458/0.5939, allocations: 2.739 MB / 0.6717 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003344/0.5943, allocations: 61.69 kB / 0.6718 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/0.5963, allocations: 2.764 MB / 0.6745 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.5974, allocations: 0.9211 MB / 0.6754 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/0.5995, allocations: 1.072 MB / 0.6764 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5996, allocations: 301.1 kB / 0.6767 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00353/0.6032, allocations: 2.31 MB / 0.679 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005534/0.6087, allocations: 5.21 MB / 0.6841 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009698/0.6185, allocations: 8.257 MB / 0.6921 GB, free: 7.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.908e-05/0.6186, allocations: 32 kB / 0.6922 GB, free: 7.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01493/0.6335, allocations: 8.27 MB / 0.7002 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.6336, allocations: 48 kB / 0.7003 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/0.6338, allocations: 104 kB / 0.7004 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/0.6367, allocations: 0.9436 MB / 0.7013 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00408/0.6408, allocations: 1.217 MB / 0.7025 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/0.6478, allocations: 5.14 MB / 0.7075 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.6515, allocations: 291.8 kB / 0.7078 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/0.6527, allocations: 308 kB / 0.7081 GB, free: 6.637 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.004319/0.657, allocations: 2.146 MB / 0.7102 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/0.6577, allocations: 284.3 kB / 0.7104 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009424/0.6672, allocations: 5.129 MB / 0.7155 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-05/0.6672, allocations: 47.98 kB / 0.7155 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.6673, allocations: 0 / 0.7155 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.6673, allocations: 19.89 kB / 0.7155 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/0.6918, allocations: 11.86 MB / 0.7271 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/0.6919, allocations: 12 kB / 0.7271 GB, free: 2.879 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.6937, allocations: 395.4 kB / 0.7275 GB, free: 2.492 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.6962, allocations: 0.7739 MB / 0.7283 GB, free: 1.715 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/0.6966, allocations: 59.92 kB / 0.7283 GB, free: 1.656 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3059/1.002, allocations: 4.367 MB / 0.7326 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/1.002, allocations: 15.31 kB / 0.7326 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.014, allocations: 7.626 MB / 0.74 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007265/1.015, allocations: 325.2 kB / 0.7403 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.015, allocations: 50.92 kB / 0.7404 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.016, allocations: 149.2 kB / 0.7405 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/1.017, allocations: 153.6 kB / 0.7407 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/1.017, allocations: 73.05 kB / 0.7408 GB, free: 173.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002271/1.019, allocations: 1.69 MB / 0.7424 GB, free: 172.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/1.019, allocations: 0 / 0.7424 GB, free: 172.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.003452/1.023, allocations: 0.9638 MB / 0.7433 GB, free: 172.4 MB / 0.5763 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.008949/1.032, allocations: 8.29 MB / 0.7514 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.006634/1.038, allocations: 5.658 MB / 0.757 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/1.038, allocations: 4 kB / 0.757 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/1.041, allocations: 2.155 MB / 0.7591 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/1.043, allocations: 401.3 kB / 0.7595 GB, free: 164 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04954/1.092, allocations: 42.09 MB / 0.8006 GB, free: 118.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004434/1.097, allocations: 3.374 MB / 0.8039 GB, free: 114.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003829/1.101, allocations: 1.986 MB / 0.8058 GB, free: 112.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/1.103, allocations: 1.835 MB / 0.8076 GB, free: 110.9 MB / 0.5763 GB Notification: Performance of SimCode: time 8.21e-07/1.103, allocations: 2.297 kB / 0.8076 GB, free: 110.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09604/1.199, allocations: 60.55 MB / 0.8667 GB, free: 50.68 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.21/23.41, allocations: 14.03 kB / 0.8667 GB, free: 50.66 MB / 0.5763 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