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.001707/0.001707, allocations: 105.9 kB / 16.41 MB, free: 6.496 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.001964/0.001964, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2197/0.2197, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.002097/0.002097, allocations: 67.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1076, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01436/0.122, allocations: 12.58 MB / 0.4997 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007601/0.1296, allocations: 3.572 MB / 0.5032 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.1315, allocations: 67.88 kB / 0.5033 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006656/0.1382, allocations: 3.333 MB / 0.5065 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.1411, allocations: 0.9483 MB / 0.5074 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.1431, allocations: 0.6549 MB / 0.5081 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003735/0.1468, allocations: 2.318 MB / 0.5103 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005885/0.1527, allocations: 4.079 MB / 0.5143 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.1553, allocations: 1.367 MB / 0.5157 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.1584, allocations: 1.764 MB / 0.5174 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009356/0.1594, allocations: 360 kB / 0.5177 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.1613, allocations: 0.9012 MB / 0.5186 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001791/0.1631, allocations: 1.68 MB / 0.5202 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.1656, allocations: 1.958 MB / 0.5222 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007403/0.173, allocations: 6.288 MB / 0.5283 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1731, allocations: 0 / 0.5283 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1731, allocations: 4 kB / 0.5283 GB, free: 2.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.1732, allocations: 0 / 0.5283 GB, free: 2.211 MB / 414.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.2089/0.3822, allocations: 4.243 MB / 0.5324 GB, free: 32.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.3823, allocations: 12.52 kB / 0.5325 GB, free: 32.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001635/0.3839, allocations: 0.6314 MB / 0.5331 GB, free: 32.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/0.3869, allocations: 0.5989 MB / 0.5337 GB, free: 32.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.3908, allocations: 1.845 MB / 0.5355 GB, free: 31.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.3911, allocations: 240.4 kB / 0.5357 GB, free: 31.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008109/0.3919, allocations: 312.1 kB / 0.536 GB, free: 31.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.4084, allocations: 8.661 MB / 0.5444 GB, free: 29.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.95e-05/0.4085, allocations: 18.64 kB / 0.5445 GB, free: 29.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003412/0.4089, allocations: 144.3 kB / 0.5446 GB, free: 29.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002733/0.4116, allocations: 1.557 MB / 0.5461 GB, free: 29.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.4271, allocations: 6.689 MB / 0.5527 GB, free: 27.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02858/0.4558, allocations: 26.33 MB / 0.5784 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005571/0.4614, allocations: 1.939 MB / 0.5803 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009825/0.4624, allocations: 0.8484 MB / 0.5811 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008631/0.471, allocations: 6.32 MB / 0.5873 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.4711, allocations: 47.2 kB / 0.5873 GB, free: 10.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=77): time 2.965e-06/0.4711, allocations: 0 / 0.5873 GB, free: 10.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.01772/0.4888, allocations: 6.427 MB / 0.5936 GB, free: 3.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.489, allocations: 144.2 kB / 0.5937 GB, free: 3.492 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.4928, allocations: 2.514 MB / 0.5962 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.493, allocations: 45.69 kB / 0.5962 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.4951, allocations: 2.498 MB / 0.5987 GB, free: 14.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/0.4956, allocations: 414.8 kB / 0.5991 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.4967, allocations: 0.7546 MB / 0.5998 GB, free: 13.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4969, allocations: 308.9 kB / 0.6001 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.4986, allocations: 0.956 MB / 0.601 GB, free: 11.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/0.5023, allocations: 3.273 MB / 0.6042 GB, free: 7.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00599/0.5083, allocations: 4.616 MB / 0.6087 GB, free: 1.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-05/0.5084, allocations: 24 kB / 0.6087 GB, free: 1.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007779/0.5162, allocations: 4.119 MB / 0.6128 GB, free: 13.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/0.5163, allocations: 44.03 kB / 0.6128 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/0.5164, allocations: 84 kB / 0.6129 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.5166, allocations: 108 kB / 0.613 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/0.5193, allocations: 0.8927 MB / 0.6139 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001426/0.5195, allocations: 164.1 kB / 0.614 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.5217, allocations: 177.1 kB / 0.6142 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/0.522, allocations: 224 kB / 0.6144 GB, free: 12.01 MB / 462.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.002521/0.5245, allocations: 1.585 MB / 0.6159 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/0.525, allocations: 238.4 kB / 0.6162 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.527, allocations: 1.14 MB / 0.6173 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.527, allocations: 12 kB / 0.6173 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5271, allocations: 0 / 0.6173 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.5271, allocations: 11.92 kB / 0.6173 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009383/0.5365, allocations: 5.981 MB / 0.6232 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.5365, allocations: 16 kB / 0.6232 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/0.5373, allocations: 220.5 kB / 0.6234 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.556e-05/0.5373, allocations: 24.88 kB / 0.6234 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.5374, allocations: 44 kB / 0.6234 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-05/0.5374, allocations: 35.86 kB / 0.6235 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.992e-05/0.5374, allocations: 27.88 kB / 0.6235 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.5397, allocations: 1.752 MB / 0.6252 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/0.5403, allocations: 323.4 kB / 0.6255 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.5406, allocations: 49.06 kB / 0.6256 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/0.5414, allocations: 44.69 kB / 0.6256 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.5415, allocations: 131.2 kB / 0.6257 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.5416, allocations: 48 kB / 0.6258 GB, free: 15.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002518/0.5441, allocations: 1.64 MB / 0.6274 GB, free: 14.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5441, allocations: 0 / 0.6274 GB, free: 14.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00304/0.5472, allocations: 0.6522 MB / 0.628 GB, free: 13.46 MB / 478.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.00296/0.5502, allocations: 2.387 MB / 0.6304 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003975/0.5542, allocations: 2.332 MB / 0.6326 GB, free: 8.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.5542, allocations: 0 / 0.6326 GB, free: 8.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009047/0.5551, allocations: 0.5205 MB / 0.6331 GB, free: 8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.5571, allocations: 334.7 kB / 0.6335 GB, free: 7.684 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0427/0.5998, allocations: 27.02 MB / 0.6598 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/0.6036, allocations: 2.742 MB / 0.6625 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002771/0.6064, allocations: 0.9899 MB / 0.6635 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/0.6089, allocations: 1.456 MB / 0.6649 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.6089, allocations: 3.938 kB / 0.6649 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08936/0.6982, allocations: 44.35 MB / 0.7082 GB, free: 7.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.98, allocations: 7.984 kB / 0.7082 GB, free: 7.762 MB / 0.545 GB (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