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.001773/0.001773, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001944/0.001944, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247 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.2246/0.2246, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 79.88 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.312, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01306/0.3251, allocations: 10.82 MB / 0.5412 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007828/0.333, allocations: 3.404 MB / 0.5445 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.3348, allocations: 60.03 kB / 0.5446 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006291/0.3411, allocations: 3.285 MB / 0.5478 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.3437, allocations: 0.7921 MB / 0.5486 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.3455, allocations: 0.6498 MB / 0.5492 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002925/0.3484, allocations: 1.985 MB / 0.5511 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004474/0.3529, allocations: 3.933 MB / 0.555 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.3547, allocations: 1.235 MB / 0.5562 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.357, allocations: 1.648 MB / 0.5578 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005876/0.3576, allocations: 344 kB / 0.5581 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.3592, allocations: 0.9129 MB / 0.559 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.3607, allocations: 1.5 MB / 0.5605 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.3625, allocations: 1.741 MB / 0.5622 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006399/0.3689, allocations: 5.694 MB / 0.5677 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.369, allocations: 4 kB / 0.5677 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.369, allocations: 0 / 0.5677 GB, free: 11.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001497/0.3692, allocations: 4 kB / 0.5677 GB, free: 11.5 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.008689/0.3778, allocations: 3.817 MB / 0.5715 GB, free: 7.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3779, allocations: 12.03 kB / 0.5715 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009004/0.3788, allocations: 0.5329 MB / 0.572 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.3811, allocations: 0.5995 MB / 0.5726 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.385, allocations: 1.775 MB / 0.5743 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.3852, allocations: 213.6 kB / 0.5745 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006817/0.3859, allocations: 271.9 kB / 0.5748 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.4027, allocations: 7.619 MB / 0.5822 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.459e-05/0.4028, allocations: 11.88 kB / 0.5822 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/0.4032, allocations: 123.9 kB / 0.5824 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/0.405, allocations: 1.11 MB / 0.5834 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.4195, allocations: 6.175 MB / 0.5895 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03089/0.4504, allocations: 22.87 MB / 0.6118 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006111/0.4566, allocations: 1.858 MB / 0.6136 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.4579, allocations: 0.8259 MB / 0.6144 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008328/0.4663, allocations: 5.87 MB / 0.6202 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.4664, allocations: 51.16 kB / 0.6202 GB, free: 4.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 2.675e-06/0.4664, allocations: 0 / 0.6202 GB, free: 4.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.01557/0.482, allocations: 4.49 MB / 0.6246 GB, free: 15.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.482, allocations: 68.41 kB / 0.6247 GB, free: 15.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/0.4853, allocations: 2.279 MB / 0.6269 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.469e-05/0.4854, allocations: 41.7 kB / 0.6269 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.487, allocations: 2.122 MB / 0.629 GB, free: 11.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.4873, allocations: 389 kB / 0.6294 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008999/0.4883, allocations: 0.6949 MB / 0.63 GB, free: 9.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4884, allocations: 305.1 kB / 0.6303 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.4899, allocations: 0.9006 MB / 0.6312 GB, free: 8.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/0.4931, allocations: 2.965 MB / 0.6341 GB, free: 4.785 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/0.4984, allocations: 4.217 MB / 0.6382 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.73e-05/0.4985, allocations: 24 kB / 0.6383 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006446/0.5049, allocations: 3.775 MB / 0.6419 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.505, allocations: 38.19 kB / 0.642 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-05/0.5051, allocations: 76 kB / 0.642 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001026/0.5052, allocations: 99.98 kB / 0.6421 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/0.5075, allocations: 0.7798 MB / 0.6429 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001203/0.5077, allocations: 147.4 kB / 0.643 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.5094, allocations: 156.1 kB / 0.6432 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.5097, allocations: 204 kB / 0.6434 GB, free: 10.25 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.002015/0.5117, allocations: 1.418 MB / 0.6448 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.512, allocations: 210.6 kB / 0.645 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.5125, allocations: 249 kB / 0.6452 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.5125, allocations: 8 kB / 0.6452 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5125, allocations: 0 / 0.6452 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5125, allocations: 3.984 kB / 0.6452 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00763/0.5202, allocations: 5.348 MB / 0.6504 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/0.5202, allocations: 20 kB / 0.6505 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.5209, allocations: 207.7 kB / 0.6507 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-05/0.5209, allocations: 31.94 kB / 0.6507 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.68e-05/0.521, allocations: 44 kB / 0.6507 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.97e-05/0.521, allocations: 35.86 kB / 0.6508 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-05/0.5211, allocations: 39.75 kB / 0.6508 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.5232, allocations: 1.728 MB / 0.6525 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/0.5238, allocations: 311.6 kB / 0.6528 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.524, allocations: 47.92 kB / 0.6528 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/0.5247, allocations: 39.98 kB / 0.6529 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.5249, allocations: 139.3 kB / 0.653 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/0.5249, allocations: 56 kB / 0.6531 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002249/0.5272, allocations: 1.473 MB / 0.6545 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5272, allocations: 0 / 0.6545 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002625/0.5298, allocations: 0.5624 MB / 0.6551 GB, free: 13.64 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.002724/0.5326, allocations: 2.376 MB / 0.6574 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0037/0.5363, allocations: 2.15 MB / 0.6595 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.5363, allocations: 8.062 kB / 0.6595 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.5371, allocations: 0.5 MB / 0.66 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.5392, allocations: 364.1 kB / 0.6603 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0367/0.5759, allocations: 24.43 MB / 0.6842 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/0.5787, allocations: 2.464 MB / 0.6866 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002175/0.5809, allocations: 0.8979 MB / 0.6875 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/0.5826, allocations: 1.245 MB / 0.6887 GB, free: 7.762 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.5826, allocations: 0 / 0.6887 GB, free: 7.762 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3207/0.9033, allocations: 41.1 MB / 0.7288 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.07, allocations: 2.5 kB / 0.7288 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