Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.0009039, allocations: 96.02 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1763/0.1763, allocations: 44.24 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002764, allocations: 12 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09547, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.03835/0.1339, allocations: 44.58 MB / 0.5048 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2186/0.3525, allocations: 9.063 MB / 0.5137 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007489/0.3601, allocations: 188.2 kB / 0.5139 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.3613, allocations: 288 kB / 0.5141 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.3636, allocations: 0.7462 MB / 0.5149 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3651, allocations: 0.5957 MB / 0.5154 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003612/0.3687, allocations: 3.268 MB / 0.5186 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00664/0.3753, allocations: 5.819 MB / 0.5243 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.3765, allocations: 0.7991 MB / 0.5251 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.3779, allocations: 1.32 MB / 0.5264 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.3781, allocations: 113.5 kB / 0.5265 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.3793, allocations: 0.7575 MB / 0.5272 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007267/0.38, allocations: 1.239 MB / 0.5284 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007724/0.3808, allocations: 1.434 MB / 0.5298 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.3839, allocations: 5.288 MB / 0.535 GB, free: 1.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3839, allocations: 0 / 0.535 GB, free: 1.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3839, allocations: 3.938 kB / 0.535 GB, free: 1.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.122e-05/0.384, allocations: 3.938 kB / 0.535 GB, free: 1.363 MB / 382.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.005232/0.3892, allocations: 3.092 MB / 0.538 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3893, allocations: 9.344 kB / 0.538 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006941/0.39, allocations: 0.5453 MB / 0.5386 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.392, allocations: 0.5831 MB / 0.5391 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.395, allocations: 1.731 MB / 0.5408 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.3952, allocations: 220.4 kB / 0.541 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004312/0.3956, allocations: 279 kB / 0.5413 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/0.4089, allocations: 7.633 MB / 0.5488 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.358e-05/0.409, allocations: 15.88 kB / 0.5488 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.4093, allocations: 121 kB / 0.5489 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001445/0.4107, allocations: 1.101 MB / 0.55 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.4229, allocations: 6.188 MB / 0.556 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02711/0.45, allocations: 22.93 MB / 0.5784 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00568/0.4557, allocations: 1.859 MB / 0.5802 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.4569, allocations: 0.8298 MB / 0.581 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006759/0.4637, allocations: 5.776 MB / 0.5867 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.4638, allocations: 39.22 kB / 0.5867 GB, free: 15.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=75): time 2.595e-06/0.4638, allocations: 0 / 0.5867 GB, free: 15.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=94): time 0.01333/0.4771, allocations: 4.42 MB / 0.591 GB, free: 10.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.4772, allocations: 60.41 kB / 0.5911 GB, free: 10.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.4802, allocations: 2.282 MB / 0.5933 GB, free: 8.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.4802, allocations: 41.7 kB / 0.5934 GB, free: 8.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.4815, allocations: 2.047 MB / 0.5954 GB, free: 6.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.4818, allocations: 377.8 kB / 0.5957 GB, free: 5.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.4822, allocations: 312.9 kB / 0.596 GB, free: 5.418 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.4823, allocations: 309.1 kB / 0.5963 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.4835, allocations: 0.8889 MB / 0.5972 GB, free: 4.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/0.4861, allocations: 2.965 MB / 0.6001 GB, free: 232 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00423/0.4903, allocations: 4.206 MB / 0.6042 GB, free: 10.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-05/0.4903, allocations: 24 kB / 0.6042 GB, free: 10.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005329/0.4957, allocations: 3.766 MB / 0.6079 GB, free: 7.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.4957, allocations: 36 kB / 0.6079 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.71e-05/0.4958, allocations: 72 kB / 0.608 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.661e-05/0.4959, allocations: 100.8 kB / 0.6081 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.498, allocations: 0.7837 MB / 0.6088 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.4981, allocations: 143.4 kB / 0.609 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.4998, allocations: 143.9 kB / 0.6091 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/0.5, allocations: 208 kB / 0.6093 GB, free: 5.715 MB / 462.1 MB 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.001906/0.5019, allocations: 1.422 MB / 0.6107 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.5022, allocations: 205.3 kB / 0.6109 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.5041, allocations: 1.152 MB / 0.612 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.5041, allocations: 8 kB / 0.612 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5041, allocations: 0 / 0.612 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.5041, allocations: 3.984 kB / 0.612 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007595/0.5117, allocations: 5.17 MB / 0.6171 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.5117, allocations: 16 kB / 0.6171 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.5124, allocations: 219.6 kB / 0.6173 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.58e-05/0.5124, allocations: 24 kB / 0.6173 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.5125, allocations: 44 kB / 0.6174 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.028e-05/0.5125, allocations: 27.92 kB / 0.6174 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/0.5126, allocations: 27.88 kB / 0.6174 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.5143, allocations: 1.674 MB / 0.6191 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.5148, allocations: 298.2 kB / 0.6193 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.5151, allocations: 39.98 kB / 0.6194 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/0.5158, allocations: 39.98 kB / 0.6194 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.5159, allocations: 124 kB / 0.6195 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.516, allocations: 52 kB / 0.6196 GB, free: 10.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002021/0.518, allocations: 1.481 MB / 0.621 GB, free: 9.129 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.518, allocations: 0 / 0.621 GB, free: 9.129 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002433/0.5205, allocations: 0.5664 MB / 0.6216 GB, free: 8.562 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * 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.002323/0.5228, allocations: 2.32 MB / 0.6239 GB, free: 6.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003142/0.5259, allocations: 2.125 MB / 0.6259 GB, free: 3.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.526, allocations: 4 kB / 0.6259 GB, free: 3.891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.5267, allocations: 0.5181 MB / 0.6264 GB, free: 3.379 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005943/0.5326, allocations: 337.9 kB / 0.6268 GB, free: 3.047 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/0.5725, allocations: 27.85 MB / 0.654 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/0.5756, allocations: 2.456 MB / 0.6564 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002415/0.578, allocations: 0.91 MB / 0.6572 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/0.5795, allocations: 1.241 MB / 0.6585 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.5795, allocations: 4 kB / 0.6585 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/0.6441, allocations: 40.8 MB / 0.6983 GB, free: 6.043 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.6443, allocations: 191 kB / 0.6985 GB, free: 5.789 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.23, allocations: 3.938 kB / 0.6985 GB, free: 5.785 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches