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.001453/0.001453, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001701/0.001702, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.4 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 80.11 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1431, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2797/0.4228, allocations: 37.71 MB / 0.5052 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01874/0.4416, allocations: 8.061 MB / 0.5131 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009253/0.4509, allocations: 154.9 kB / 0.5132 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005182/0.4561, allocations: 1.729 MB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006531/0.4627, allocations: 1.689 MB / 0.5165 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.4647, allocations: 0.52 MB / 0.517 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006874/0.4716, allocations: 3.892 MB / 0.5208 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00512/0.4768, allocations: 2.821 MB / 0.5236 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.4798, allocations: 1.375 MB / 0.5249 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.4837, allocations: 2.123 MB / 0.527 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.4849, allocations: 294.9 kB / 0.5273 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.4876, allocations: 1.009 MB / 0.5283 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002562/0.4902, allocations: 1.764 MB / 0.53 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00345/0.4936, allocations: 2.122 MB / 0.5321 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006236/0.4999, allocations: 6.629 MB / 0.5386 GB, free: 14.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4999, allocations: 2.156 kB / 0.5386 GB, free: 14.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.4999, allocations: 0 / 0.5386 GB, free: 14.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001321/0.5001, allocations: 3.938 kB / 0.5386 GB, free: 14.64 MB / 398.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.008237/0.5083, allocations: 4.539 MB / 0.543 GB, free: 11.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5084, allocations: 12.75 kB / 0.543 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/0.5095, allocations: 0.7686 MB / 0.5438 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.52, allocations: 3.117 MB / 0.5468 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.5252, allocations: 2.327 MB / 0.5491 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.5254, allocations: 216.9 kB / 0.5493 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007357/0.5261, allocations: 287.9 kB / 0.5496 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.5443, allocations: 11.11 MB / 0.5604 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.504e-05/0.5445, allocations: 27.72 kB / 0.5604 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004157/0.5449, allocations: 134.9 kB / 0.5606 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004273/0.5492, allocations: 2.625 MB / 0.5631 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/0.5697, allocations: 10.37 MB / 0.5732 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05966/0.6294, allocations: 36.7 MB / 0.6091 GB, free: 7.637 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009456/0.6389, allocations: 4.571 MB / 0.6136 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003461/0.6424, allocations: 2.396 MB / 0.6159 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.6436, allocations: 1.319 MB / 0.6172 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.6437, allocations: 60.44 kB / 0.6172 GB, free: 14.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.3e-06/0.6437, allocations: 0 / 0.6172 GB, free: 14.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04168/0.6854, allocations: 17.58 MB / 0.6344 GB, free: 13.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.6855, allocations: 73.41 kB / 0.6345 GB, free: 13.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00478/0.6903, allocations: 2.746 MB / 0.6372 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.6906, allocations: 57.7 kB / 0.6372 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/0.6927, allocations: 2.763 MB / 0.6399 GB, free: 7.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.6939, allocations: 0.9183 MB / 0.6408 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/0.6959, allocations: 1.066 MB / 0.6418 GB, free: 5.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.696, allocations: 305.1 kB / 0.6421 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/0.6996, allocations: 2.306 MB / 0.6444 GB, free: 2.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/0.7051, allocations: 5.217 MB / 0.6495 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009539/0.7147, allocations: 8.253 MB / 0.6575 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.274e-05/0.7148, allocations: 32 kB / 0.6576 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0153/0.7301, allocations: 8.273 MB / 0.6657 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.7303, allocations: 52.25 kB / 0.6657 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/0.7305, allocations: 104 kB / 0.6658 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.7333, allocations: 0.9411 MB / 0.6667 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/0.7376, allocations: 1.217 MB / 0.6679 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007119/0.7447, allocations: 5.142 MB / 0.6729 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/0.7488, allocations: 299.8 kB / 0.6732 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/0.7499, allocations: 306 kB / 0.6735 GB, free: 2.137 MB / 0.5137 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.005075/0.755, allocations: 2.149 MB / 0.6756 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008067/0.7558, allocations: 280.3 kB / 0.6759 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009574/0.7654, allocations: 5.131 MB / 0.6809 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.598e-05/0.7655, allocations: 50.09 kB / 0.6809 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.7655, allocations: 4 kB / 0.6809 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.339e-05/0.7656, allocations: 7.969 kB / 0.6809 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/0.7891, allocations: 11.91 MB / 0.6926 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/0.7892, allocations: 12.16 kB / 0.6926 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.7909, allocations: 399.4 kB / 0.693 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.7933, allocations: 0.777 MB / 0.6937 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/0.7936, allocations: 51.98 kB / 0.6938 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006173/0.7998, allocations: 4.384 MB / 0.6981 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/0.7998, allocations: 19.92 kB / 0.6981 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.8124, allocations: 7.619 MB / 0.7055 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.8134, allocations: 321.6 kB / 0.7058 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007323/0.8142, allocations: 51.98 kB / 0.7059 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.8159, allocations: 143.8 kB / 0.706 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/0.8164, allocations: 156.8 kB / 0.7062 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/0.8167, allocations: 75.19 kB / 0.7062 GB, free: 120 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2801/1.097, allocations: 1.69 MB / 0.7079 GB, free: 193 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.01e-07/1.097, allocations: 0 / 0.7079 GB, free: 193 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006972/1.104, allocations: 0.9594 MB / 0.7088 GB, free: 193 MB / 0.545 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.0135/1.117, allocations: 8.283 MB / 0.7169 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01583/1.133, allocations: 9.098 MB / 0.7258 GB, free: 188.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/1.133, allocations: 3.938 kB / 0.7258 GB, free: 188.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002811/1.136, allocations: 2.154 MB / 0.7279 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.138, allocations: 389.7 kB / 0.7283 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06434/1.203, allocations: 47.45 MB / 0.7746 GB, free: 145.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/1.206, allocations: 3.371 MB / 0.7779 GB, free: 141.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003824/1.21, allocations: 1.982 MB / 0.7798 GB, free: 139.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/1.212, allocations: 1.831 MB / 0.7816 GB, free: 138 MB / 0.545 GB Notification: Performance of SimCode: time 1.974e-06/1.212, allocations: 4 kB / 0.7816 GB, free: 138 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08623/1.298, allocations: 62.36 MB / 0.8425 GB, free: 75.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.298, allocations: 214.5 kB / 0.8427 GB, free: 75.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/4.738, allocations: 4 kB / 0.8427 GB, free: 75.64 MB / 0.545 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