Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_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.001145/0.001145, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001128/0.001128, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2278/0.2278, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 70.56 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1151, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.0128/0.1279, allocations: 12.59 MB / 453.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008804/0.1368, allocations: 3.576 MB / 456.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.1392, allocations: 59.94 kB / 456.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006535/0.1458, allocations: 3.333 MB / 460.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.1491, allocations: 0.9405 MB / 461.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.1513, allocations: 0.6588 MB / 461.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003785/0.1552, allocations: 2.314 MB / 464.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005699/0.1609, allocations: 4.09 MB / 468.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.1632, allocations: 1.367 MB / 469.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003317/0.1666, allocations: 1.764 MB / 471.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009955/0.1676, allocations: 360 kB / 471.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.1698, allocations: 0.8935 MB / 472.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.1721, allocations: 1.679 MB / 474.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.1752, allocations: 1.958 MB / 476.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.1823, allocations: 6.094 MB / 482.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1824, allocations: 4 kB / 482.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1824, allocations: 0 / 482.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002623/0.1826, allocations: 3.938 kB / 482.3 MB, free: 12.92 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01253/0.1952, allocations: 4.153 MB / 486.4 MB, free: 8.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1952, allocations: 19.88 kB / 486.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001566/0.1968, allocations: 0.6282 MB / 487.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.1998, allocations: 0.5732 MB / 487.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.2034, allocations: 1.813 MB / 489.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.2036, allocations: 242.3 kB / 489.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.2042, allocations: 315.9 kB / 490 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.222, allocations: 8.66 MB / 498.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.352e-05/0.2221, allocations: 19.81 kB / 498.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004115/0.2225, allocations: 143.9 kB / 498.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/0.2251, allocations: 1.557 MB / 0.4887 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.2408, allocations: 6.676 MB / 0.4952 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04125/0.2821, allocations: 26.4 MB / 0.521 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006661/0.2888, allocations: 1.948 MB / 0.5229 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.2903, allocations: 0.8544 MB / 0.5237 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.242/0.5324, allocations: 6.293 MB / 0.5299 GB, free: 86.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.5325, allocations: 50.81 kB / 0.5299 GB, free: 86.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=77): time 3.867e-06/0.5325, allocations: 0 / 0.5299 GB, free: 86.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.01748/0.55, allocations: 6.23 MB / 0.536 GB, free: 85.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.5501, allocations: 145.9 kB / 0.5361 GB, free: 84.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/0.5541, allocations: 2.513 MB / 0.5386 GB, free: 84.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/0.5542, allocations: 43.06 kB / 0.5386 GB, free: 84.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.5556, allocations: 2.402 MB / 0.541 GB, free: 83.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.556, allocations: 388.3 kB / 0.5413 GB, free: 82.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/0.5572, allocations: 0.7534 MB / 0.5421 GB, free: 82.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.5572, allocations: 305.8 kB / 0.5424 GB, free: 82.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.5585, allocations: 0.9605 MB / 0.5433 GB, free: 81.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.5606, allocations: 3.283 MB / 0.5465 GB, free: 78.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/0.5646, allocations: 4.607 MB / 0.551 GB, free: 74.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.249e-05/0.5647, allocations: 23.75 kB / 0.551 GB, free: 74.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.005284/0.5699, allocations: 4.113 MB / 0.555 GB, free: 72.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.57, allocations: 42.69 kB / 0.5551 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.007e-05/0.5701, allocations: 81.59 kB / 0.5552 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-05/0.5702, allocations: 107.5 kB / 0.5553 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.5723, allocations: 0.9003 MB / 0.5561 GB, free: 72.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.817e-05/0.5724, allocations: 160 kB / 0.5563 GB, free: 72.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.5745, allocations: 166.8 kB / 0.5565 GB, free: 72.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.5747, allocations: 228.4 kB / 0.5567 GB, free: 72.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 40 (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 (483): * Single equations (assignments): 483 * 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.001915/0.5766, allocations: 1.589 MB / 0.5582 GB, free: 71.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.5769, allocations: 222.4 kB / 0.5584 GB, free: 71.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.5785, allocations: 1.135 MB / 0.5596 GB, free: 70.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.5785, allocations: 7.812 kB / 0.5596 GB, free: 70.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.5785, allocations: 8.312 kB / 0.5596 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.5785, allocations: 11.2 kB / 0.5596 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006479/0.585, allocations: 5.988 MB / 0.5654 GB, free: 65.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.585, allocations: 16 kB / 0.5654 GB, free: 65.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.5858, allocations: 217.8 kB / 0.5656 GB, free: 64.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/0.5858, allocations: 24 kB / 0.5657 GB, free: 64.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.5859, allocations: 40 kB / 0.5657 GB, free: 64.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.588e-05/0.5859, allocations: 36.39 kB / 0.5657 GB, free: 64.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/0.5859, allocations: 27.88 kB / 0.5658 GB, free: 64.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.5882, allocations: 1.746 MB / 0.5675 GB, free: 62.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007/0.5889, allocations: 310.1 kB / 0.5678 GB, free: 62.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/0.5893, allocations: 43.98 kB / 0.5678 GB, free: 62.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.5906, allocations: 39.98 kB / 0.5679 GB, free: 62.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.5907, allocations: 131.4 kB / 0.568 GB, free: 62.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.5908, allocations: 48 kB / 0.568 GB, free: 62.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002586/0.5934, allocations: 1.644 MB / 0.5696 GB, free: 60.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5935, allocations: 0 / 0.5696 GB, free: 60.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003342/0.5968, allocations: 0.6477 MB / 0.5703 GB, free: 59.8 MB / 414.1 MB 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 (120): * Single equations (assignments): 120 * 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.002138/0.599, allocations: 2.384 MB / 0.5726 GB, free: 57.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.6022, allocations: 2.463 MB / 0.575 GB, free: 54.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.6023, allocations: 4 kB / 0.575 GB, free: 54.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005828/0.6028, allocations: 0.5233 MB / 0.5755 GB, free: 54.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.6045, allocations: 322.6 kB / 0.5758 GB, free: 53.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03564/0.6402, allocations: 29.71 MB / 0.6048 GB, free: 19.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003086/0.6433, allocations: 2.745 MB / 0.6075 GB, free: 16.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002323/0.6457, allocations: 0.992 MB / 0.6085 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.647, allocations: 1.464 MB / 0.6099 GB, free: 14.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6471, allocations: 0 / 0.6099 GB, free: 14.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08194/0.729, allocations: 45 MB / 0.6539 GB, free: 1.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.176/9.905, allocations: 8.047 kB / 0.6539 GB, free: 1.246 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches