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.001141/0.001141, allocations: 110.2 kB / 17.33 MB, free: 6 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.001053/0.001053, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.344/1.344, allocations: 222.9 MB / 241.9 MB, free: 13.7 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.2981/0.2981, allocations: 44.17 MB / 336.2 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 68.27 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1288, allocations: 60.82 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.04405/0.1729, allocations: 45.81 MB / 0.5026 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2604/0.4334, allocations: 9.052 MB / 0.5114 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01107/0.4445, allocations: 187.8 kB / 0.5116 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006312/0.4508, allocations: 3.183 MB / 0.5147 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.4535, allocations: 0.7217 MB / 0.5154 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.4552, allocations: 0.6052 MB / 0.516 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.4577, allocations: 1.999 MB / 0.5179 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005382/0.4631, allocations: 4.145 MB / 0.522 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.4659, allocations: 1.271 MB / 0.5232 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.4686, allocations: 1.774 MB / 0.525 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006998/0.4693, allocations: 343.2 kB / 0.5253 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.4715, allocations: 0.9245 MB / 0.5262 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001681/0.4732, allocations: 1.526 MB / 0.5277 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002443/0.4757, allocations: 1.756 MB / 0.5294 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/0.4813, allocations: 5.594 MB / 0.5349 GB, free: 44 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4813, allocations: 0 / 0.5349 GB, free: 44 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4813, allocations: 0 / 0.5349 GB, free: 44 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001694/0.4815, allocations: 0 / 0.5349 GB, free: 44 kB / 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.008664/0.4902, allocations: 3.751 MB / 0.5385 GB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4902, allocations: 9.406 kB / 0.5385 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007681/0.491, allocations: 0.5356 MB / 0.5391 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/0.4933, allocations: 0.5795 MB / 0.5396 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.4964, allocations: 1.735 MB / 0.5413 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.4966, allocations: 209.5 kB / 0.5415 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004588/0.4971, allocations: 275.3 kB / 0.5418 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.5114, allocations: 7.611 MB / 0.5492 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.306e-05/0.5115, allocations: 11.88 kB / 0.5492 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.5119, allocations: 128.5 kB / 0.5493 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001506/0.5134, allocations: 1.1 MB / 0.5504 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.5265, allocations: 6.186 MB / 0.5565 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03372/0.5603, allocations: 22.9 MB / 0.5788 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005973/0.5663, allocations: 1.863 MB / 0.5807 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.5675, allocations: 0.8261 MB / 0.5815 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008264/0.5758, allocations: 5.781 MB / 0.5871 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5759, allocations: 43.2 kB / 0.5871 GB, free: 12.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=75): time 3.427e-06/0.5759, allocations: 0 / 0.5871 GB, free: 12.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=94): time 0.01457/0.5905, allocations: 4.404 MB / 0.5914 GB, free: 8.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.5906, allocations: 60.41 kB / 0.5915 GB, free: 8.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.5936, allocations: 2.282 MB / 0.5937 GB, free: 5.781 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.5937, allocations: 41.7 kB / 0.5938 GB, free: 5.734 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.5951, allocations: 2.056 MB / 0.5958 GB, free: 3.676 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.5954, allocations: 374.1 kB / 0.5961 GB, free: 3.312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008533/0.5963, allocations: 0.6866 MB / 0.5968 GB, free: 2.617 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5964, allocations: 309 kB / 0.5971 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.5978, allocations: 0.8967 MB / 0.598 GB, free: 1.414 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002699/0.6005, allocations: 2.965 MB / 0.6009 GB, free: 13.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004733/0.6052, allocations: 4.213 MB / 0.605 GB, free: 8.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.463e-05/0.6053, allocations: 24 kB / 0.605 GB, free: 8.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005834/0.6111, allocations: 3.754 MB / 0.6087 GB, free: 4.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.6112, allocations: 36 kB / 0.6087 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.385e-05/0.6112, allocations: 72 kB / 0.6088 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/0.6114, allocations: 96 kB / 0.6089 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.6135, allocations: 0.7882 MB / 0.6096 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001147/0.6136, allocations: 147.4 kB / 0.6098 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.6155, allocations: 151.9 kB / 0.6099 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.6158, allocations: 204 kB / 0.6101 GB, free: 2.898 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.002147/0.6179, allocations: 1.418 MB / 0.6115 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.6182, allocations: 201.4 kB / 0.6117 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.6201, allocations: 1.148 MB / 0.6128 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.6201, allocations: 8 kB / 0.6128 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6201, allocations: 0 / 0.6128 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.6202, allocations: 7.969 kB / 0.6128 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007369/0.6275, allocations: 5.163 MB / 0.6179 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.6276, allocations: 16 kB / 0.6179 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.6282, allocations: 212.6 kB / 0.6181 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.076e-05/0.6283, allocations: 28 kB / 0.6181 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.6284, allocations: 36 kB / 0.6182 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/0.6284, allocations: 31.86 kB / 0.6182 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-05/0.6285, allocations: 27.88 kB / 0.6182 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.6307, allocations: 1.678 MB / 0.6199 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/0.6312, allocations: 302.3 kB / 0.6201 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.6314, allocations: 43.98 kB / 0.6202 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.6321, allocations: 35.98 kB / 0.6202 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.6323, allocations: 123.9 kB / 0.6203 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.6323, allocations: 51.98 kB / 0.6204 GB, free: 7.828 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002091/0.6344, allocations: 1.477 MB / 0.6218 GB, free: 6.336 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6345, allocations: 0 / 0.6218 GB, free: 6.336 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002944/0.6374, allocations: 0.5703 MB / 0.6224 GB, free: 5.766 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.002527/0.6399, allocations: 2.326 MB / 0.6247 GB, free: 3.195 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00388/0.6438, allocations: 2.317 MB / 0.6269 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.6439, allocations: 4 kB / 0.6269 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.6446, allocations: 0.5134 MB / 0.6274 GB, free: 392 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.6465, allocations: 357.6 kB / 0.6278 GB, free: 44 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04065/0.6871, allocations: 27.81 MB / 0.6549 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/0.6898, allocations: 2.47 MB / 0.6573 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002369/0.6922, allocations: 0.91 MB / 0.6582 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.6938, allocations: 1.245 MB / 0.6594 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.6938, allocations: 0 / 0.6594 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07142/0.7652, allocations: 41.89 MB / 0.7003 GB, free: 1.977 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.7655, allocations: 185.2 kB / 0.7005 GB, free: 1.727 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/3.842, allocations: 0 / 0.7005 GB, free: 1.727 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