Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008791/0.0008791, allocations: 174.5 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007314/0.0007316, allocations: 90.34 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3285/0.3285, allocations: 43.55 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003749, allocations: 16 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 58.84 MB / 490.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2588/0.3822, allocations: 47.72 MB / 0.526 GB, free: 16.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.4022, allocations: 9.798 MB / 0.5356 GB, free: 9.629 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009434/0.4116, allocations: 213.2 kB / 0.5358 GB, free: 9.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006819/0.4185, allocations: 2.275 MB / 0.538 GB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01658/0.4351, allocations: 6.313 MB / 0.5442 GB, free: 6.074 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.4384, allocations: 0.5899 MB / 0.5447 GB, free: 5.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003926/0.4423, allocations: 3.366 MB / 0.548 GB, free: 4.574 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009227/0.4516, allocations: 6.989 MB / 0.5549 GB, free: 1.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.454, allocations: 1.026 MB / 0.5559 GB, free: 1.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.4571, allocations: 1.585 MB / 0.5574 GB, free: 0.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009833/0.4581, allocations: 142.4 kB / 0.5575 GB, free: 0.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.4604, allocations: 0.7448 MB / 0.5583 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.4624, allocations: 1.489 MB / 0.5597 GB, free: 124 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.4648, allocations: 1.718 MB / 0.5614 GB, free: 14.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00676/0.4716, allocations: 5.988 MB / 0.5672 GB, free: 10.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4716, allocations: 0 / 0.5672 GB, free: 10.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.626e-06/0.4716, allocations: 0 / 0.5672 GB, free: 10.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002297/0.4719, allocations: 3.938 kB / 0.5673 GB, free: 10.57 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.008847/0.4807, allocations: 3.737 MB / 0.5709 GB, free: 7.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.4808, allocations: 9.469 kB / 0.5709 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001316/0.4821, allocations: 0.6752 MB / 0.5716 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.4846, allocations: 0.6197 MB / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/0.4888, allocations: 2.184 MB / 0.5743 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.489, allocations: 278.9 kB / 0.5746 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006449/0.4897, allocations: 351.9 kB / 0.5749 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.5078, allocations: 9.231 MB / 0.5839 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-05/0.5079, allocations: 15.88 kB / 0.5839 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.5083, allocations: 159.9 kB / 0.5841 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.5109, allocations: 1.554 MB / 0.5856 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.5258, allocations: 7.187 MB / 0.5926 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0394/0.5653, allocations: 27.94 MB / 0.6199 GB, free: 4.898 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006322/0.5716, allocations: 2.18 MB / 0.622 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.5732, allocations: 0.9706 MB / 0.623 GB, free: 1.688 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008783/0.582, allocations: 6.719 MB / 0.6295 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.5821, allocations: 55.05 kB / 0.6296 GB, free: 10.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 3.477e-06/0.5821, allocations: 0 / 0.6296 GB, free: 10.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.01955/0.6016, allocations: 7.437 MB / 0.6369 GB, free: 2.863 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.6018, allocations: 167.3 kB / 0.637 GB, free: 2.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.6055, allocations: 2.706 MB / 0.6397 GB, free: 15.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.6056, allocations: 41.7 kB / 0.6397 GB, free: 15.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.6073, allocations: 2.54 MB / 0.6422 GB, free: 13.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.6076, allocations: 399.1 kB / 0.6426 GB, free: 12.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.6078, allocations: 80 kB / 0.6426 GB, free: 12.85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.608, allocations: 470.5 kB / 0.6431 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.6098, allocations: 1.105 MB / 0.6442 GB, free: 11.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/0.613, allocations: 3.454 MB / 0.6475 GB, free: 6.664 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005269/0.6183, allocations: 4.93 MB / 0.6524 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/0.6183, allocations: 24 kB / 0.6524 GB, free: 0.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.00661/0.625, allocations: 4.477 MB / 0.6567 GB, free: 12.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.625, allocations: 44 kB / 0.6568 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.216e-05/0.6251, allocations: 80 kB / 0.6569 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.6252, allocations: 112 kB / 0.657 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.6278, allocations: 0.9436 MB / 0.6579 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001174/0.6279, allocations: 163.3 kB / 0.6581 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.6301, allocations: 211.6 kB / 0.6583 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.6304, allocations: 240 kB / 0.6585 GB, free: 10.28 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.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 (505): * Single equations (assignments): 504 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002871/0.6332, allocations: 1.754 MB / 0.6602 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/0.6336, allocations: 236.9 kB / 0.6604 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.6354, allocations: 1.194 MB / 0.6616 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6354, allocations: 8 kB / 0.6616 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.6355, allocations: 7.938 kB / 0.6616 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6355, allocations: 7.984 kB / 0.6616 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008699/0.6442, allocations: 6.386 MB / 0.6678 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/0.6442, allocations: 16 kB / 0.6679 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/0.6451, allocations: 247.5 kB / 0.6681 GB, free: 100 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.18e-05/0.6451, allocations: 24 kB / 0.6681 GB, free: 76 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.6452, allocations: 43.98 kB / 0.6682 GB, free: 32 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-05/0.6452, allocations: 35.91 kB / 0.6682 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/0.6452, allocations: 27.88 kB / 0.6682 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.6477, allocations: 2.102 MB / 0.6703 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/0.6483, allocations: 337.8 kB / 0.6706 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.6485, allocations: 43.98 kB / 0.6706 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008688/0.6494, allocations: 55.91 kB / 0.6707 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.6496, allocations: 139.4 kB / 0.6708 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.6497, allocations: 59.98 kB / 0.6709 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002388/0.6521, allocations: 1.774 MB / 0.6726 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6521, allocations: 0 / 0.6726 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002868/0.655, allocations: 0.707 MB / 0.6733 GB, free: 10.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (123): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002883/0.6579, allocations: 2.733 MB / 0.676 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004078/0.662, allocations: 2.573 MB / 0.6785 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.662, allocations: 4 kB / 0.6785 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.6629, allocations: 0.6309 MB / 0.6791 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007155/0.67, allocations: 350.9 kB / 0.6794 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2522/0.9223, allocations: 23.33 MB / 0.7022 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005695/0.928, allocations: 2.963 MB / 0.7051 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/0.9305, allocations: 1.631 MB / 0.7067 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.263e-06/0.9305, allocations: 0 / 0.7067 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.683/6.614, allocations: 57.65 MB / 0.763 GB, free: 111.5 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRP/JointRRP.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches