Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, 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.2291/0.2291, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3588, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01434/0.3732, allocations: 10.81 MB / 0.5411 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008804/0.3821, allocations: 3.616 MB / 0.5446 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.3842, allocations: 60.34 kB / 0.5447 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006627/0.3909, allocations: 3.237 MB / 0.5478 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.3936, allocations: 0.79 MB / 0.5486 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.3962, allocations: 0.8257 MB / 0.5494 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00366/0.3999, allocations: 2.066 MB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005769/0.4057, allocations: 3.992 MB / 0.5553 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.4084, allocations: 1.274 MB / 0.5566 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.4117, allocations: 1.679 MB / 0.5582 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.4131, allocations: 356 kB / 0.5585 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.4161, allocations: 1.046 MB / 0.5596 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002533/0.4186, allocations: 1.532 MB / 0.5611 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003708/0.4224, allocations: 1.753 MB / 0.5628 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008444/0.4309, allocations: 5.841 MB / 0.5685 GB, free: 10.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.4309, allocations: 0 / 0.5685 GB, free: 10.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4309, allocations: 0 / 0.5685 GB, free: 10.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002091/0.4311, allocations: 4 kB / 0.5685 GB, free: 10.73 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.01236/0.4435, allocations: 3.877 MB / 0.5723 GB, free: 6.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4436, allocations: 8.031 kB / 0.5723 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001598/0.4452, allocations: 0.5449 MB / 0.5728 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.4483, allocations: 0.5856 MB / 0.5734 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/0.4532, allocations: 1.825 MB / 0.5752 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.4534, allocations: 209.4 kB / 0.5754 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.4545, allocations: 275.9 kB / 0.5756 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.4735, allocations: 8.164 MB / 0.5836 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.22e-05/0.4737, allocations: 19.88 kB / 0.5836 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006221/0.4743, allocations: 127.9 kB / 0.5837 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/0.4761, allocations: 1.122 MB / 0.5848 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.4924, allocations: 6.955 MB / 0.5916 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/0.5346, allocations: 24.62 MB / 0.6157 GB, free: 9.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.5473, allocations: 2.281 MB / 0.6179 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/0.5498, allocations: 1.089 MB / 0.619 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0127/0.5625, allocations: 7.185 MB / 0.626 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.5626, allocations: 43.22 kB / 0.626 GB, free: 14.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=80): time 3.287e-06/0.5627, allocations: 0 / 0.626 GB, free: 14.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02035/0.583, allocations: 5.408 MB / 0.6313 GB, free: 8.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.5831, allocations: 64.41 kB / 0.6314 GB, free: 8.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/0.5879, allocations: 2.396 MB / 0.6337 GB, free: 6.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.5881, allocations: 41.7 kB / 0.6337 GB, free: 6.148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.5899, allocations: 2.066 MB / 0.6358 GB, free: 4.051 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005409/0.5905, allocations: 383.2 kB / 0.6361 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.592, allocations: 0.7142 MB / 0.6368 GB, free: 2.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.5922, allocations: 309.1 kB / 0.6371 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.5943, allocations: 1.03 MB / 0.6381 GB, free: 1.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/0.5983, allocations: 3.182 MB / 0.6412 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006143/0.6044, allocations: 4.58 MB / 0.6457 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.934e-05/0.6045, allocations: 24 kB / 0.6457 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=452) (initialization): time 0.008712/0.6133, allocations: 4.117 MB / 0.6497 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.6134, allocations: 36 kB / 0.6498 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/0.6136, allocations: 76 kB / 0.6499 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.6137, allocations: 104 kB / 0.65 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/0.6167, allocations: 0.8427 MB / 0.6508 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001611/0.6169, allocations: 151.4 kB / 0.6509 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.6194, allocations: 179.8 kB / 0.6511 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005092/0.6199, allocations: 212 kB / 0.6513 GB, free: 1.965 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 349 * Number of states: 0 () * Number of discrete variables: 53 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointUSR.revolute.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (452): * Single equations (assignments): 452 * 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 prepare postOptimizeDAE: time 0.002778/0.6227, allocations: 1.43 MB / 0.6527 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/0.6232, allocations: 209.2 kB / 0.6529 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.6259, allocations: 1.422 MB / 0.6543 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.626, allocations: 8 kB / 0.6543 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.626, allocations: 0 / 0.6543 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.626, allocations: 3.984 kB / 0.6543 GB, free: 14.87 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.6366, allocations: 5.275 MB / 0.6594 GB, free: 9.297 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-05/0.6367, allocations: 16 kB / 0.6595 GB, free: 9.281 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/0.6375, allocations: 220.5 kB / 0.6597 GB, free: 9.066 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.89e-05/0.6375, allocations: 20 kB / 0.6597 GB, free: 9.047 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/0.6376, allocations: 40 kB / 0.6597 GB, free: 9.008 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.604e-05/0.6377, allocations: 35.86 kB / 0.6598 GB, free: 8.973 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-05/0.6377, allocations: 27.81 kB / 0.6598 GB, free: 8.945 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.6401, allocations: 1.737 MB / 0.6615 GB, free: 6.992 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007449/0.6408, allocations: 298.2 kB / 0.6618 GB, free: 6.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/0.6413, allocations: 43.98 kB / 0.6618 GB, free: 6.637 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.6423, allocations: 39.98 kB / 0.6618 GB, free: 6.598 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.6425, allocations: 124 kB / 0.662 GB, free: 6.477 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/0.6426, allocations: 48 kB / 0.662 GB, free: 6.43 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002698/0.6453, allocations: 1.529 MB / 0.6635 GB, free: 4.887 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.096e-05/0.6453, allocations: 4 kB / 0.6635 GB, free: 4.883 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.003414/0.6487, allocations: 0.5937 MB / 0.6641 GB, free: 4.289 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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 (121): * Single equations (assignments): 121 * 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.003317/0.6521, allocations: 2.378 MB / 0.6664 GB, free: 1.684 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.004315/0.6564, allocations: 2.395 MB / 0.6687 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.6565, allocations: 4 kB / 0.6688 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.6575, allocations: 0.5659 MB / 0.6693 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.6603, allocations: 366.2 kB / 0.6697 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05161/0.712, allocations: 25.37 MB / 0.6944 GB, free: 1.953 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004306/0.7164, allocations: 2.458 MB / 0.6968 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0029/0.7193, allocations: 0.9493 MB / 0.6978 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/0.7217, allocations: 1.237 MB / 0.699 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.7217, allocations: 4 kB / 0.699 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3855/1.107, allocations: 44.08 MB / 0.742 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/15.22, allocations: 2.5 kB / 0.742 GB, free: 181.6 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches