Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 108.9 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 185.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2139/0.2139, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 68.45 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1091, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.0175/0.1266, allocations: 14.22 MB / 0.5013 GB, free: 14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00905/0.1357, allocations: 4.005 MB / 0.5052 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.1382, allocations: 71.88 kB / 0.5053 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00807/0.1463, allocations: 3.926 MB / 0.5091 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.1498, allocations: 1.01 MB / 0.5101 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.1526, allocations: 0.8694 MB / 0.511 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005107/0.1577, allocations: 2.642 MB / 0.5135 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007861/0.1656, allocations: 5.121 MB / 0.5185 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.169, allocations: 1.601 MB / 0.5201 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/0.173, allocations: 2.084 MB / 0.5221 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.1746, allocations: 488 kB / 0.5226 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.1778, allocations: 1.139 MB / 0.5237 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003185/0.181, allocations: 1.968 MB / 0.5256 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004753/0.1858, allocations: 2.277 MB / 0.5279 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2499/0.4358, allocations: 7.756 MB / 0.5354 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4358, allocations: 0 / 0.5354 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4358, allocations: 0 / 0.5354 GB, free: 15.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.4361, allocations: 1.25 kB / 0.5354 GB, free: 15.12 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01444/0.4505, allocations: 4.864 MB / 0.5402 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4506, allocations: 14.77 kB / 0.5402 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002082/0.4527, allocations: 0.6777 MB / 0.5409 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.4572, allocations: 0.6906 MB / 0.5415 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007013/0.4643, allocations: 2.323 MB / 0.5438 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/0.4647, allocations: 263.5 kB / 0.5441 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.4667, allocations: 358.3 kB / 0.5444 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03208/0.4988, allocations: 10.47 MB / 0.5546 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/0.4991, allocations: 18.5 kB / 0.5546 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00215/0.5013, allocations: 160.9 kB / 0.5548 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00339/0.5047, allocations: 1.637 MB / 0.5564 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/0.5273, allocations: 9.149 MB / 0.5653 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05301/0.5803, allocations: 30.61 MB / 0.5952 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.591, allocations: 3.097 MB / 0.5982 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002698/0.5938, allocations: 1.663 MB / 0.5999 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01641/0.6102, allocations: 9.333 MB / 0.609 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.6103, allocations: 50.75 kB / 0.609 GB, free: 10.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 3.947e-06/0.6103, allocations: 0 / 0.609 GB, free: 10.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02955/0.6399, allocations: 9.152 MB / 0.618 GB, free: 1.594 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/0.64, allocations: 115.8 kB / 0.6181 GB, free: 1.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005738/0.6458, allocations: 2.901 MB / 0.6209 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002673/0.6461, allocations: 49.7 kB / 0.621 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002247/0.6483, allocations: 2.602 MB / 0.6235 GB, free: 11.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006175/0.649, allocations: 455.4 kB / 0.6239 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/0.6505, allocations: 0.8455 MB / 0.6248 GB, free: 10.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6506, allocations: 301.1 kB / 0.625 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.6531, allocations: 1.492 MB / 0.6265 GB, free: 8.824 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/0.6577, allocations: 3.834 MB / 0.6302 GB, free: 3.852 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008058/0.6657, allocations: 5.6 MB / 0.6357 GB, free: 13.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.925e-05/0.6658, allocations: 28 kB / 0.6357 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01018/0.676, allocations: 5.287 MB / 0.6409 GB, free: 8.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.6762, allocations: 46.03 kB / 0.6409 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/0.6764, allocations: 80 kB / 0.641 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.6766, allocations: 112 kB / 0.6411 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/0.6803, allocations: 0.9935 MB / 0.6421 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001786/0.6805, allocations: 169.3 kB / 0.6423 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/0.6837, allocations: 238.8 kB / 0.6425 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005493/0.6842, allocations: 236 kB / 0.6427 GB, free: 6.875 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (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 (524): * Single equations (assignments): 523 * 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.003418/0.6877, allocations: 1.757 MB / 0.6444 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/0.6883, allocations: 262.3 kB / 0.6447 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.6922, allocations: 2.06 MB / 0.6467 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.6922, allocations: 13.2 kB / 0.6467 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.6922, allocations: 4 kB / 0.6467 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.6923, allocations: 7.922 kB / 0.6467 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.706, allocations: 6.665 MB / 0.6532 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/0.7062, allocations: 12 kB / 0.6532 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.7073, allocations: 259.4 kB / 0.6535 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-05/0.7073, allocations: 23.94 kB / 0.6535 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.7074, allocations: 36 kB / 0.6535 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-05/0.7075, allocations: 27.92 kB / 0.6536 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.789e-05/0.7075, allocations: 23.88 kB / 0.6536 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.7108, allocations: 2.207 MB / 0.6557 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009164/0.7117, allocations: 343.3 kB / 0.6561 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006225/0.7124, allocations: 47.92 kB / 0.6561 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.7137, allocations: 69.03 kB / 0.6562 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.7139, allocations: 124.2 kB / 0.6563 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.714, allocations: 48 kB / 0.6564 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003648/0.7177, allocations: 1.843 MB / 0.6582 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7177, allocations: 0 / 0.6582 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003909/0.7216, allocations: 0.7562 MB / 0.6589 GB, free: 5.988 MB / 0.4981 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 (134): * Single equations (assignments): 134 * 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.004034/0.7257, allocations: 2.855 MB / 0.6617 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005958/0.7316, allocations: 3.233 MB / 0.6648 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.452e-05/0.7317, allocations: 4 kB / 0.6648 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.733, allocations: 0.7987 MB / 0.6656 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.7355, allocations: 340.2 kB / 0.6659 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05479/0.7903, allocations: 31.35 MB / 0.6966 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003717/0.7941, allocations: 2.952 MB / 0.6994 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002859/0.797, allocations: 1.024 MB / 0.7004 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/0.7995, allocations: 1.608 MB / 0.702 GB, free: 6.414 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.7995, allocations: 0 / 0.702 GB, free: 6.414 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/0.9277, allocations: 51.7 MB / 0.7525 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/17.45, allocations: 11.44 kB / 0.7525 GB, free: 2.699 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches