Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 122.8 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.00126/0.001261, allocations: 198 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.386/1.386, 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.2203/0.2203, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 79.86 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3367, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01301/0.3498, allocations: 10.81 MB / 0.5411 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007717/0.3575, allocations: 3.414 MB / 0.5444 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.3594, allocations: 60.75 kB / 0.5445 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006169/0.3656, allocations: 3.285 MB / 0.5477 GB, free: 36 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.3681, allocations: 0.8324 MB / 0.5485 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.3697, allocations: 0.6472 MB / 0.5491 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.3724, allocations: 1.979 MB / 0.5511 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004104/0.3765, allocations: 3.934 MB / 0.5549 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.3783, allocations: 1.239 MB / 0.5561 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.3804, allocations: 1.644 MB / 0.5577 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005116/0.3809, allocations: 340 kB / 0.558 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.3824, allocations: 0.9208 MB / 0.5589 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.3837, allocations: 1.516 MB / 0.5604 GB, free: 3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.3854, allocations: 1.741 MB / 0.5621 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006392/0.3918, allocations: 5.694 MB / 0.5677 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3919, allocations: 0 / 0.5677 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3919, allocations: 0 / 0.5677 GB, free: 11.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001595/0.3921, allocations: 0 / 0.5677 GB, free: 11.53 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.008541/0.4006, allocations: 3.825 MB / 0.5714 GB, free: 7.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4007, allocations: 8.031 kB / 0.5714 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009925/0.4017, allocations: 0.5328 MB / 0.5719 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.4042, allocations: 0.5956 MB / 0.5725 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.4082, allocations: 1.771 MB / 0.5743 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.4084, allocations: 213.6 kB / 0.5745 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005987/0.409, allocations: 275.9 kB / 0.5747 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.4238, allocations: 7.622 MB / 0.5822 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-05/0.4239, allocations: 19.88 kB / 0.5822 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003118/0.4242, allocations: 123.9 kB / 0.5823 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001552/0.4258, allocations: 1.099 MB / 0.5834 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.439, allocations: 6.178 MB / 0.5894 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/0.4675, allocations: 22.86 MB / 0.6117 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00618/0.4737, allocations: 1.865 MB / 0.6136 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.4749, allocations: 0.8259 MB / 0.6144 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007811/0.4827, allocations: 5.882 MB / 0.6201 GB, free: 4.238 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.4828, allocations: 43.22 kB / 0.6201 GB, free: 4.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 3.176e-06/0.4828, allocations: 0 / 0.6201 GB, free: 4.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.0143/0.4971, allocations: 4.498 MB / 0.6245 GB, free: 15.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4972, allocations: 60.41 kB / 0.6246 GB, free: 15.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/0.5002, allocations: 2.279 MB / 0.6268 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.5004, allocations: 41.7 kB / 0.6269 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.5018, allocations: 2.118 MB / 0.6289 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/0.5022, allocations: 393 kB / 0.6293 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007666/0.503, allocations: 0.6949 MB / 0.63 GB, free: 10.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5031, allocations: 313 kB / 0.6303 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.5045, allocations: 0.8967 MB / 0.6312 GB, free: 8.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00293/0.5075, allocations: 2.969 MB / 0.6341 GB, free: 4.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/0.512, allocations: 4.217 MB / 0.6382 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.625e-05/0.512, allocations: 20 kB / 0.6382 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006132/0.5182, allocations: 3.771 MB / 0.6419 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.5182, allocations: 44.95 kB / 0.6419 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.563e-05/0.5183, allocations: 72 kB / 0.642 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.889e-05/0.5184, allocations: 103.9 kB / 0.6421 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.5206, allocations: 0.7837 MB / 0.6429 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001168/0.5207, allocations: 143.4 kB / 0.643 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.5225, allocations: 155.9 kB / 0.6431 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.5228, allocations: 204 kB / 0.6433 GB, free: 10.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (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,jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (436): * Single equations (assignments): 436 * 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.001849/0.5246, allocations: 1.418 MB / 0.6447 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.5249, allocations: 214.6 kB / 0.6449 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.5253, allocations: 241 kB / 0.6452 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5253, allocations: 12 kB / 0.6452 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.5253, allocations: 0 / 0.6452 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.5253, allocations: 3.984 kB / 0.6452 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007274/0.5326, allocations: 5.336 MB / 0.6504 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.5326, allocations: 21 kB / 0.6504 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/0.5333, allocations: 219.6 kB / 0.6506 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-05/0.5333, allocations: 28 kB / 0.6506 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/0.5334, allocations: 40 kB / 0.6507 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.121e-05/0.5334, allocations: 47.84 kB / 0.6507 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-05/0.5335, allocations: 31.81 kB / 0.6507 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.5354, allocations: 1.732 MB / 0.6524 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.536, allocations: 307.6 kB / 0.6527 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.5362, allocations: 47.94 kB / 0.6528 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.537, allocations: 43.98 kB / 0.6528 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.5371, allocations: 135.3 kB / 0.653 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.5372, allocations: 59.98 kB / 0.653 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00212/0.5393, allocations: 1.469 MB / 0.6544 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5393, allocations: 0 / 0.6544 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002822/0.5422, allocations: 0.5585 MB / 0.655 GB, free: 13.67 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 86 * 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 (118): * Single equations (assignments): 118 * 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.002757/0.5449, allocations: 2.388 MB / 0.6573 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003439/0.5484, allocations: 2.149 MB / 0.6594 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/0.5484, allocations: 0 / 0.6594 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007673/0.5492, allocations: 0.5039 MB / 0.6599 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.5511, allocations: 374.2 kB / 0.6603 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03349/0.5846, allocations: 24.42 MB / 0.6841 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.5872, allocations: 2.456 MB / 0.6865 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002102/0.5893, allocations: 0.9058 MB / 0.6874 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/0.5907, allocations: 1.237 MB / 0.6886 GB, free: 7.793 MB / 0.545 GB Notification: Performance of SimCode: time 6.42e-07/0.5908, allocations: 0 / 0.6886 GB, free: 7.793 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3074/0.8981, allocations: 41.12 MB / 0.7288 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.22, allocations: 1.781 kB / 0.7288 GB, free: 175.5 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_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_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches