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.001112/0.001112, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 78.03 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1155, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01456/0.1301, allocations: 12.38 MB / 492.5 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007906/0.1381, allocations: 3.917 MB / 496.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.1399, allocations: 67.94 kB / 496.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007359/0.1473, allocations: 3.863 MB / 0.4886 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.15, allocations: 0.8396 MB / 0.4895 GB, free: 36 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.1523, allocations: 0.8773 MB / 0.4903 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.1558, allocations: 2.304 MB / 0.4926 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005917/0.1618, allocations: 4.988 MB / 0.4974 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.164, allocations: 1.465 MB / 0.4989 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0029/0.1669, allocations: 1.967 MB / 0.5008 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009952/0.1679, allocations: 480 kB / 0.5012 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.1702, allocations: 1.171 MB / 0.5024 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.1722, allocations: 1.797 MB / 0.5041 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2329/0.4051, allocations: 2.057 MB / 0.5061 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.4153, allocations: 7.037 MB / 0.513 GB, free: 17.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4154, allocations: 0 / 0.513 GB, free: 17.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4154, allocations: 1.188 kB / 0.513 GB, free: 17.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003021/0.4157, allocations: 0 / 0.513 GB, free: 17.59 MB / 382.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.01656/0.4322, allocations: 4.331 MB / 0.5173 GB, free: 16.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4323, allocations: 12.53 kB / 0.5173 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002855/0.4352, allocations: 0.5881 MB / 0.5178 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/0.4391, allocations: 0.6549 MB / 0.5185 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00595/0.4451, allocations: 2.216 MB / 0.5206 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.4453, allocations: 237.6 kB / 0.5209 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4465, allocations: 319.8 kB / 0.5212 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02129/0.4678, allocations: 9.428 MB / 0.5304 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.979e-05/0.4679, allocations: 18.56 kB / 0.5304 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004402/0.4684, allocations: 136.3 kB / 0.5305 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/0.4704, allocations: 1.186 MB / 0.5317 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.4888, allocations: 8.648 MB / 0.5401 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04086/0.5297, allocations: 27.24 MB / 0.5667 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.5401, allocations: 3.111 MB / 0.5698 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/0.5427, allocations: 1.659 MB / 0.5714 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/0.5557, allocations: 9.07 MB / 0.5803 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.5558, allocations: 43.55 kB / 0.5803 GB, free: 12.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.825e-06/0.5558, allocations: 0 / 0.5803 GB, free: 12.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02584/0.5816, allocations: 7.759 MB / 0.5879 GB, free: 5.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.5817, allocations: 60.41 kB / 0.5879 GB, free: 5.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005095/0.5868, allocations: 2.607 MB / 0.5905 GB, free: 2.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.5871, allocations: 45.55 kB / 0.5905 GB, free: 2.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.5888, allocations: 2.142 MB / 0.5926 GB, free: 268 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007261/0.5896, allocations: 427.3 kB / 0.593 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.5908, allocations: 0.7838 MB / 0.5938 GB, free: 15.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5909, allocations: 309.1 kB / 0.5941 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.5931, allocations: 1.432 MB / 0.5955 GB, free: 13.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/0.5968, allocations: 3.512 MB / 0.5989 GB, free: 8.828 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006411/0.6033, allocations: 5.186 MB / 0.604 GB, free: 2.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.603e-05/0.6033, allocations: 20 kB / 0.604 GB, free: 2.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.008476/0.6118, allocations: 4.921 MB / 0.6088 GB, free: 14.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.6119, allocations: 36 kB / 0.6088 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.814e-05/0.612, allocations: 76.12 kB / 0.6089 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.6121, allocations: 100 kB / 0.609 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/0.6153, allocations: 0.8839 MB / 0.6099 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001471/0.6155, allocations: 152.1 kB / 0.61 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/0.6185, allocations: 211.5 kB / 0.6102 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005155/0.619, allocations: 216 kB / 0.6104 GB, free: 12.86 MB / 462.1 MB 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.003246/0.6223, allocations: 1.595 MB / 0.612 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.6228, allocations: 217.2 kB / 0.6122 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.6265, allocations: 2.101 MB / 0.6142 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.6266, allocations: 12 kB / 0.6142 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.6266, allocations: 0 / 0.6142 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6266, allocations: 3.984 kB / 0.6142 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.6388, allocations: 6.088 MB / 0.6202 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-05/0.6388, allocations: 16 kB / 0.6202 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.6399, allocations: 253.1 kB / 0.6204 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.709e-05/0.64, allocations: 23.56 kB / 0.6205 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.6401, allocations: 36.66 kB / 0.6205 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-05/0.6401, allocations: 27.73 kB / 0.6205 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/0.6401, allocations: 32 kB / 0.6206 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.6433, allocations: 2.175 MB / 0.6227 GB, free: 0 / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009513/0.6443, allocations: 314.2 kB / 0.623 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006638/0.645, allocations: 47.98 kB / 0.623 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.6464, allocations: 67.94 kB / 0.6231 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.6466, allocations: 120.2 kB / 0.6232 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/0.6467, allocations: 48 kB / 0.6233 GB, free: 15.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003839/0.6505, allocations: 1.668 MB / 0.6249 GB, free: 13.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6506, allocations: 4 kB / 0.6249 GB, free: 13.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005764/0.6563, allocations: 0.6719 MB / 0.6255 GB, free: 13.04 MB / 478.1 MB 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.004517/0.6609, allocations: 2.825 MB / 0.6283 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006309/0.6672, allocations: 3.477 MB / 0.6317 GB, free: 6.547 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/0.6673, allocations: 5.875 kB / 0.6317 GB, free: 6.543 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.6686, allocations: 0.8066 MB / 0.6325 GB, free: 5.738 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.6713, allocations: 355.8 kB / 0.6328 GB, free: 5.402 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05056/0.7219, allocations: 31.26 MB / 0.6634 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004327/0.7262, allocations: 2.675 MB / 0.666 GB, free: 15.31 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003125/0.7294, allocations: 0.9423 MB / 0.6669 GB, free: 14.36 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/0.7319, allocations: 1.366 MB / 0.6682 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of SimCode: time 8.32e-07/0.7319, allocations: 0 / 0.6682 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2969/1.029, allocations: 50.87 MB / 0.7179 GB, free: 198.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.675/10.7, allocations: 4.109 kB / 0.7179 GB, free: 198.1 MB / 0.545 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