Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 116.1 kB / 17.78 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.001269/0.001269, allocations: 200.7 kB / 18.73 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.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3867, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01475/0.4015, allocations: 12.4 MB / 0.5426 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009787/0.4114, allocations: 3.905 MB / 0.5464 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.4144, allocations: 66.47 kB / 0.5465 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007945/0.4223, allocations: 3.856 MB / 0.5503 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.426, allocations: 0.8864 MB / 0.5511 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.429, allocations: 0.885 MB / 0.552 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0043/0.4333, allocations: 2.311 MB / 0.5543 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007354/0.4407, allocations: 4.985 MB / 0.5591 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.4436, allocations: 1.473 MB / 0.5606 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.4472, allocations: 1.96 MB / 0.5625 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.4488, allocations: 475.9 kB / 0.5629 GB, free: 440 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.4521, allocations: 1.178 MB / 0.5641 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002651/0.4548, allocations: 1.793 MB / 0.5658 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.4585, allocations: 2.06 MB / 0.5678 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.4695, allocations: 7.186 MB / 0.5749 GB, free: 4.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4696, allocations: 0 / 0.5749 GB, free: 4.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4696, allocations: 0 / 0.5749 GB, free: 4.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002585/0.4698, allocations: 0 / 0.5749 GB, free: 4.172 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01312/0.483, allocations: 4.454 MB / 0.5792 GB, free: 15.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.4831, allocations: 11.97 kB / 0.5792 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002072/0.4851, allocations: 0.59 MB / 0.5798 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.4892, allocations: 0.6735 MB / 0.5805 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/0.4956, allocations: 2.251 MB / 0.5827 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/0.4959, allocations: 238.2 kB / 0.5829 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.4973, allocations: 311.9 kB / 0.5832 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/0.5216, allocations: 9.434 MB / 0.5924 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.5218, allocations: 11.88 kB / 0.5924 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001199/0.523, allocations: 143.9 kB / 0.5925 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002494/0.5256, allocations: 1.181 MB / 0.5937 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/0.5471, allocations: 8.644 MB / 0.6021 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04371/0.5909, allocations: 27.13 MB / 0.6286 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.6013, allocations: 3.108 MB / 0.6317 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.6039, allocations: 1.655 MB / 0.6333 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01544/0.6194, allocations: 9.074 MB / 0.6422 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.6195, allocations: 43.56 kB / 0.6422 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=93): time 3.727e-06/0.6195, allocations: 0 / 0.6422 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110): time 0.02813/0.6476, allocations: 7.815 MB / 0.6498 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.6477, allocations: 60.41 kB / 0.6499 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005226/0.653, allocations: 2.619 MB / 0.6524 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/0.6533, allocations: 45.7 kB / 0.6525 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002694/0.656, allocations: 2.22 MB / 0.6547 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007786/0.6568, allocations: 452.5 kB / 0.6551 GB, free: 452 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/0.6585, allocations: 0.778 MB / 0.6558 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6587, allocations: 305.1 kB / 0.6561 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.6616, allocations: 1.432 MB / 0.6575 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/0.6665, allocations: 3.508 MB / 0.661 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008236/0.6748, allocations: 5.196 MB / 0.666 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.941e-05/0.6749, allocations: 20 kB / 0.6661 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01076/0.6857, allocations: 4.93 MB / 0.6709 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.6859, allocations: 39.98 kB / 0.6709 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/0.6861, allocations: 72 kB / 0.671 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.6862, allocations: 100 kB / 0.6711 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.6899, allocations: 0.8889 MB / 0.6719 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002083/0.6901, allocations: 147.9 kB / 0.6721 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/0.6935, allocations: 211.7 kB / 0.6723 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/0.694, allocations: 219.9 kB / 0.6725 GB, free: 12.56 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (476): * Single equations (assignments): 475 * Array equations: 1 * 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.00338/0.6974, allocations: 1.597 MB / 0.674 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006724/0.6981, allocations: 230.5 kB / 0.6743 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.7022, allocations: 2.098 MB / 0.6763 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.7023, allocations: 16 kB / 0.6763 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.7023, allocations: 0 / 0.6763 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.7023, allocations: 3.984 kB / 0.6763 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.7156, allocations: 6.078 MB / 0.6823 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/0.7156, allocations: 12 kB / 0.6823 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.7168, allocations: 256.4 kB / 0.6825 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-05/0.7168, allocations: 20 kB / 0.6825 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.7169, allocations: 47.94 kB / 0.6826 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-05/0.717, allocations: 23.92 kB / 0.6826 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/0.717, allocations: 23.88 kB / 0.6826 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.7203, allocations: 2.197 MB / 0.6848 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009701/0.7213, allocations: 323.5 kB / 0.6851 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000749/0.7221, allocations: 43.92 kB / 0.6851 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.7238, allocations: 63.94 kB / 0.6852 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.7241, allocations: 124.2 kB / 0.6853 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.7242, allocations: 56 kB / 0.6854 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003266/0.7275, allocations: 1.66 MB / 0.687 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7275, allocations: 0 / 0.687 GB, free: 13.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00389/0.7314, allocations: 0.6757 MB / 0.6876 GB, free: 12.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (136): * Single equations (assignments): 136 * 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.00394/0.7353, allocations: 2.84 MB / 0.6904 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005645/0.741, allocations: 3.084 MB / 0.6934 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.333e-05/0.7411, allocations: 0 / 0.6934 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.7427, allocations: 0.8076 MB / 0.6942 GB, free: 5.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.746, allocations: 367.6 kB / 0.6946 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05306/0.7991, allocations: 28.63 MB / 0.7225 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/0.8031, allocations: 2.667 MB / 0.7251 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002716/0.8058, allocations: 0.9423 MB / 0.7261 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00259/0.8084, allocations: 1.37 MB / 0.7274 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/0.8085, allocations: 3.938 kB / 0.7274 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4159/1.224, allocations: 51.93 MB / 0.7781 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.42, allocations: 0 / 0.7781 GB, free: 144.5 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_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_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches