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.00163/0.00163, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 79.88 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4118, allocations: 62.43 MB / 0.5305 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0155/0.4274, allocations: 13.51 MB / 0.5437 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.4386, allocations: 4.165 MB / 0.5478 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.4418, allocations: 67.59 kB / 0.5478 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004672/0.4466, allocations: 1.818 MB / 0.5496 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005962/0.4526, allocations: 1.856 MB / 0.5514 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.4544, allocations: 0.5497 MB / 0.552 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00705/0.4615, allocations: 3.898 MB / 0.5558 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004743/0.4662, allocations: 2.692 MB / 0.5584 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.4691, allocations: 1.366 MB / 0.5597 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.4724, allocations: 1.943 MB / 0.5616 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.4736, allocations: 292 kB / 0.5619 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.4765, allocations: 0.9869 MB / 0.5629 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002747/0.4793, allocations: 1.749 MB / 0.5646 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004291/0.4836, allocations: 2.1 MB / 0.5666 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.4943, allocations: 6.925 MB / 0.5734 GB, free: 5.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.4944, allocations: 4 kB / 0.5734 GB, free: 5.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.4944, allocations: 3.984 kB / 0.5734 GB, free: 5.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003404/0.4947, allocations: 0 / 0.5734 GB, free: 5.855 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.01345/0.5082, allocations: 4.653 MB / 0.578 GB, free: 1.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.5083, allocations: 8.031 kB / 0.578 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002433/0.5107, allocations: 0.7658 MB / 0.5787 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.5217, allocations: 3.149 MB / 0.5818 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005719/0.5275, allocations: 2.347 MB / 0.5841 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.5278, allocations: 221.5 kB / 0.5843 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.5292, allocations: 291.8 kB / 0.5846 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/0.5576, allocations: 11.11 MB / 0.5954 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.5579, allocations: 27.77 kB / 0.5954 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/0.5593, allocations: 131.8 kB / 0.5956 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006334/0.5657, allocations: 2.628 MB / 0.5981 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02986/0.5956, allocations: 10.38 MB / 0.6083 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06892/0.6645, allocations: 36.54 MB / 0.644 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009181/0.6738, allocations: 4.567 MB / 0.6484 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.6771, allocations: 2.407 MB / 0.6508 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.6784, allocations: 1.319 MB / 0.6521 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.6785, allocations: 48.56 kB / 0.6521 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.24e-06/0.6785, allocations: 3.938 kB / 0.6521 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.03929/0.7178, allocations: 17.67 MB / 0.6694 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.7179, allocations: 73.41 kB / 0.6694 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004476/0.7224, allocations: 2.743 MB / 0.6721 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.7227, allocations: 57.7 kB / 0.6722 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002173/0.7249, allocations: 2.886 MB / 0.675 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/0.726, allocations: 0.961 MB / 0.6759 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/0.7277, allocations: 1.072 MB / 0.677 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7279, allocations: 305.1 kB / 0.6773 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/0.7316, allocations: 2.306 MB / 0.6795 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00581/0.7374, allocations: 5.21 MB / 0.6846 GB, free: 432 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.7486, allocations: 8.261 MB / 0.6927 GB, free: 6.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/0.7488, allocations: 28 kB / 0.6927 GB, free: 6.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0151/0.7639, allocations: 8.291 MB / 0.7008 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.764, allocations: 55.92 kB / 0.7008 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/0.7642, allocations: 100 kB / 0.7009 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/0.7669, allocations: 0.9471 MB / 0.7019 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/0.7709, allocations: 1.213 MB / 0.703 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006879/0.7778, allocations: 5.137 MB / 0.7081 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/0.7817, allocations: 299.8 kB / 0.7083 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/0.7828, allocations: 304 kB / 0.7086 GB, free: 6.227 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.007033/0.7898, allocations: 2.143 MB / 0.7107 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009636/0.7908, allocations: 298 kB / 0.711 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009978/0.8008, allocations: 5.129 MB / 0.716 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.092e-05/0.8009, allocations: 47.98 kB / 0.7161 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.8009, allocations: 4 kB / 0.7161 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.801, allocations: 15.89 kB / 0.7161 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02458/0.8256, allocations: 11.88 MB / 0.7277 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.8256, allocations: 8 kB / 0.7277 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.8274, allocations: 399.3 kB / 0.7281 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.8299, allocations: 0.7773 MB / 0.7288 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/0.8302, allocations: 44 kB / 0.7289 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3141/1.144, allocations: 4.375 MB / 0.7332 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/1.144, allocations: 17.44 kB / 0.7332 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.156, allocations: 7.638 MB / 0.7406 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009691/1.157, allocations: 341.1 kB / 0.741 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.157, allocations: 51.3 kB / 0.741 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.159, allocations: 144.4 kB / 0.7411 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004724/1.159, allocations: 160.3 kB / 0.7413 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.159, allocations: 74.64 kB / 0.7414 GB, free: 173 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003037/1.162, allocations: 1.686 MB / 0.743 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/1.163, allocations: 0 / 0.743 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005079/1.168, allocations: 0.9646 MB / 0.744 GB, free: 172.3 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.009974/1.178, allocations: 8.309 MB / 0.7521 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006865/1.184, allocations: 5.666 MB / 0.7576 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.185, allocations: 4 kB / 0.7576 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/1.187, allocations: 2.144 MB / 0.7597 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/1.189, allocations: 413.3 kB / 0.7601 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04695/1.236, allocations: 42.27 MB / 0.8014 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/1.239, allocations: 3.367 MB / 0.8047 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003344/1.242, allocations: 1.986 MB / 0.8066 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/1.244, allocations: 1.831 MB / 0.8084 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/1.244, allocations: 0 / 0.8084 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08665/1.331, allocations: 59.61 MB / 0.8666 GB, free: 50.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.58/22.91, allocations: 6.438 kB / 0.8666 GB, free: 50.94 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/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