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.001172/0.001172, allocations: 103.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.001223/0.001223, allocations: 216.5 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.218/1.218, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1773/0.1773, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 75.25 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09496, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01142/0.1064, allocations: 12.4 MB / 492.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006046/0.1125, allocations: 3.907 MB / 496.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007159/0.1132, allocations: 67.88 kB / 496.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005536/0.1188, allocations: 3.863 MB / 0.4886 GB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.1201, allocations: 0.8357 MB / 0.4895 GB, free: 36 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1219, allocations: 0.885 MB / 0.4903 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002267/0.1241, allocations: 2.296 MB / 0.4926 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004366/0.1285, allocations: 4.996 MB / 0.4974 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.1299, allocations: 1.461 MB / 0.4989 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.1319, allocations: 1.971 MB / 0.5008 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005205/0.1324, allocations: 472 kB / 0.5012 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.134, allocations: 1.175 MB / 0.5024 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.1353, allocations: 1.793 MB / 0.5041 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1834/0.3187, allocations: 2.062 MB / 0.5061 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.3252, allocations: 7.032 MB / 0.513 GB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3253, allocations: 1.75 kB / 0.513 GB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3253, allocations: 8.406 kB / 0.513 GB, free: 17.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000124/0.3254, allocations: 0 / 0.513 GB, free: 17.56 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.007793/0.3332, allocations: 4.326 MB / 0.5173 GB, free: 16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3332, allocations: 9.406 kB / 0.5173 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006485/0.3339, allocations: 0.5869 MB / 0.5178 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.3364, allocations: 0.6602 MB / 0.5185 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.3395, allocations: 2.212 MB / 0.5206 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.3396, allocations: 247.3 kB / 0.5209 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004871/0.3401, allocations: 317.3 kB / 0.5212 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/0.3551, allocations: 9.425 MB / 0.5304 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.3552, allocations: 15.81 kB / 0.5304 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/0.3555, allocations: 141.5 kB / 0.5305 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001555/0.3571, allocations: 1.181 MB / 0.5317 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.371, allocations: 8.645 MB / 0.5401 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.3994, allocations: 27.25 MB / 0.5667 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008333/0.4078, allocations: 3.117 MB / 0.5698 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.4096, allocations: 1.659 MB / 0.5714 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.4198, allocations: 9.065 MB / 0.5803 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.4199, allocations: 47.5 kB / 0.5803 GB, free: 12.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.314e-06/0.4199, allocations: 0 / 0.5803 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02142/0.4413, allocations: 7.753 MB / 0.5879 GB, free: 5.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.4414, allocations: 64.41 kB / 0.5879 GB, free: 5.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/0.4447, allocations: 2.611 MB / 0.5905 GB, free: 2.422 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.4448, allocations: 45.64 kB / 0.5905 GB, free: 2.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.4461, allocations: 2.129 MB / 0.5926 GB, free: 244 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.4464, allocations: 432 kB / 0.593 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009942/0.4474, allocations: 0.7773 MB / 0.5938 GB, free: 15.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.4475, allocations: 305.1 kB / 0.5941 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.4494, allocations: 1.444 MB / 0.5955 GB, free: 13.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/0.4525, allocations: 3.507 MB / 0.5989 GB, free: 8.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005113/0.4576, allocations: 5.191 MB / 0.604 GB, free: 2.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.219e-05/0.4577, allocations: 20 kB / 0.604 GB, free: 2.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.006432/0.4641, allocations: 4.923 MB / 0.6088 GB, free: 14.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.4642, allocations: 38.5 kB / 0.6088 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.757e-05/0.4643, allocations: 72 kB / 0.6089 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-05/0.4644, allocations: 96 kB / 0.609 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.467, allocations: 0.8898 MB / 0.6099 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.886e-05/0.4671, allocations: 147.3 kB / 0.61 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.4691, allocations: 215.5 kB / 0.6102 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/0.4694, allocations: 216 kB / 0.6104 GB, free: 12.83 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.002157/0.4716, allocations: 1.598 MB / 0.612 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.4719, allocations: 213.2 kB / 0.6122 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.4748, allocations: 2.106 MB / 0.6142 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4748, allocations: 12 kB / 0.6142 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4748, allocations: 0 / 0.6142 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4749, allocations: 7.969 kB / 0.6143 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008284/0.4831, allocations: 6.08 MB / 0.6202 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.4832, allocations: 12 kB / 0.6202 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/0.4841, allocations: 269.2 kB / 0.6205 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.4841, allocations: 20 kB / 0.6205 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.4842, allocations: 36 kB / 0.6205 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.649e-05/0.4842, allocations: 27.41 kB / 0.6205 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/0.4842, allocations: 27.58 kB / 0.6206 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.4865, allocations: 2.182 MB / 0.6227 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.487, allocations: 310.2 kB / 0.623 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.4873, allocations: 43.98 kB / 0.623 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/0.4881, allocations: 63.94 kB / 0.6231 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.4883, allocations: 124.2 kB / 0.6232 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.4884, allocations: 51.94 kB / 0.6233 GB, free: 15.37 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.4903, allocations: 1.668 MB / 0.6249 GB, free: 13.69 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4903, allocations: 0 / 0.6249 GB, free: 13.69 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002353/0.4927, allocations: 0.668 MB / 0.6255 GB, free: 13.02 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.002749/0.4954, allocations: 2.827 MB / 0.6283 GB, free: 9.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004578/0.5, allocations: 3.478 MB / 0.6317 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5, allocations: 0 / 0.6317 GB, free: 6.531 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.501, allocations: 0.8065 MB / 0.6325 GB, free: 5.727 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.5025, allocations: 374 kB / 0.6328 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03775/0.5403, allocations: 31.27 MB / 0.6634 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002947/0.5432, allocations: 2.667 MB / 0.666 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002311/0.5456, allocations: 0.9384 MB / 0.6669 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/0.5472, allocations: 1.366 MB / 0.6682 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.5473, allocations: 0 / 0.6682 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9307/1.478, allocations: 50.86 MB / 0.7179 GB, free: 198.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.081/10.56, allocations: 4.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat","/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