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.00107/0.00107, allocations: 118.8 kB / 17.78 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.001259/0.00126, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2021/0.2021, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3327, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01201/0.3448, allocations: 10.82 MB / 0.5411 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006326/0.3512, allocations: 3.399 MB / 0.5444 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009877/0.3522, allocations: 60.44 kB / 0.5445 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005574/0.3577, allocations: 3.289 MB / 0.5477 GB, free: 52 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002/0.3598, allocations: 0.7883 MB / 0.5485 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.3613, allocations: 0.6625 MB / 0.5491 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.3635, allocations: 1.968 MB / 0.551 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003781/0.3673, allocations: 3.937 MB / 0.5549 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.3687, allocations: 1.239 MB / 0.5561 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.3706, allocations: 1.644 MB / 0.5577 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.3711, allocations: 344 kB / 0.558 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.3725, allocations: 0.9129 MB / 0.5589 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.3738, allocations: 1.508 MB / 0.5604 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.3753, allocations: 1.741 MB / 0.5621 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005371/0.3807, allocations: 5.677 MB / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3807, allocations: 0 / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3807, allocations: 4 kB / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.253e-05/0.3808, allocations: 0 / 0.5676 GB, free: 11.64 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.007038/0.3879, allocations: 3.729 MB / 0.5713 GB, free: 7.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3879, allocations: 8.031 kB / 0.5713 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006132/0.3886, allocations: 0.5407 MB / 0.5718 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.3907, allocations: 0.574 MB / 0.5724 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.3943, allocations: 1.763 MB / 0.5741 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.3944, allocations: 213.6 kB / 0.5743 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004578/0.3949, allocations: 279.9 kB / 0.5746 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.4082, allocations: 7.619 MB / 0.582 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/0.4083, allocations: 15.88 kB / 0.582 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/0.4086, allocations: 127.9 kB / 0.5821 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/0.4102, allocations: 1.099 MB / 0.5832 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.4224, allocations: 6.182 MB / 0.5892 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02655/0.449, allocations: 22.81 MB / 0.6115 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005811/0.4548, allocations: 1.86 MB / 0.6133 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.456, allocations: 0.8237 MB / 0.6141 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008259/0.4643, allocations: 5.873 MB / 0.6199 GB, free: 4.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4643, allocations: 39.22 kB / 0.6199 GB, free: 4.461 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 3.887e-06/0.4643, allocations: 0 / 0.6199 GB, free: 4.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.01411/0.4784, allocations: 4.446 MB / 0.6243 GB, free: 0 / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.4785, allocations: 60.41 kB / 0.6243 GB, free: 15.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/0.4815, allocations: 2.274 MB / 0.6265 GB, free: 13.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.4816, allocations: 45.7 kB / 0.6266 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.483, allocations: 2.039 MB / 0.6286 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.4833, allocations: 375.3 kB / 0.6289 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007991/0.4841, allocations: 0.6904 MB / 0.6296 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4842, allocations: 309.1 kB / 0.6299 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.4855, allocations: 0.8928 MB / 0.6308 GB, free: 9.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.4882, allocations: 2.977 MB / 0.6337 GB, free: 5.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.4926, allocations: 4.206 MB / 0.6378 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-05/0.4926, allocations: 20 kB / 0.6378 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005593/0.4982, allocations: 3.774 MB / 0.6415 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.4983, allocations: 36 kB / 0.6415 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.484e-05/0.4984, allocations: 72 kB / 0.6416 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.191e-05/0.4985, allocations: 96 kB / 0.6417 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.5008, allocations: 0.7798 MB / 0.6424 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000117/0.5009, allocations: 143.4 kB / 0.6426 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.5026, allocations: 164.1 kB / 0.6427 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.5028, allocations: 204 kB / 0.6429 GB, free: 10.7 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.001889/0.5047, allocations: 1.422 MB / 0.6443 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.505, allocations: 201.4 kB / 0.6445 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.5054, allocations: 237 kB / 0.6447 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.5054, allocations: 12 kB / 0.6447 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5054, allocations: 0 / 0.6447 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5054, allocations: 3.984 kB / 0.6448 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007373/0.5128, allocations: 5.336 MB / 0.65 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.5128, allocations: 16 kB / 0.65 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/0.5136, allocations: 227.5 kB / 0.6502 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-05/0.5136, allocations: 24 kB / 0.6502 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.5137, allocations: 44 kB / 0.6503 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-05/0.5137, allocations: 39.86 kB / 0.6503 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.269e-05/0.5137, allocations: 31.81 kB / 0.6503 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.5159, allocations: 1.719 MB / 0.652 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/0.5164, allocations: 294.3 kB / 0.6523 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.5166, allocations: 43.98 kB / 0.6523 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.5173, allocations: 43.98 kB / 0.6524 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.5175, allocations: 143.3 kB / 0.6525 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.5175, allocations: 59.94 kB / 0.6526 GB, free: 188 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001885/0.5194, allocations: 1.469 MB / 0.654 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5194, allocations: 7.938 kB / 0.654 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0025/0.5219, allocations: 0.5585 MB / 0.6546 GB, free: 14.13 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.00239/0.5243, allocations: 2.363 MB / 0.6569 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.5276, allocations: 2.157 MB / 0.659 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.443e-06/0.5276, allocations: 3.938 kB / 0.659 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006901/0.5283, allocations: 0.4922 MB / 0.6595 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.5301, allocations: 375.7 kB / 0.6598 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03126/0.5613, allocations: 24.31 MB / 0.6835 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/0.564, allocations: 2.46 MB / 0.6859 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002063/0.566, allocations: 0.9096 MB / 0.6868 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.5674, allocations: 1.237 MB / 0.688 GB, free: 8.391 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/0.5674, allocations: 0 / 0.688 GB, free: 8.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3108/0.8782, allocations: 41.5 MB / 0.7286 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.75, allocations: 3.031 kB / 0.7286 GB, free: 175.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat","/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