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.001137/0.001137, allocations: 109.9 kB / 16.41 MB, free: 6.5 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.001069/0.001069, 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.238/1.238, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1779/0.1779, allocations: 43.53 MB / 314.1 MB, free: 468 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.001318/0.001318, allocations: 67.91 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0834/0.08473, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01174/0.0965, allocations: 12.59 MB / 0.4997 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006234/0.1028, allocations: 3.572 MB / 0.5032 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1039, allocations: 67.88 kB / 0.5033 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00512/0.109, allocations: 3.326 MB / 0.5065 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.111, allocations: 1.007 MB / 0.5075 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1123, allocations: 0.6588 MB / 0.5081 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.1145, allocations: 2.31 MB / 0.5104 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003739/0.1182, allocations: 4.079 MB / 0.5144 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.1201, allocations: 1.363 MB / 0.5157 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.122, allocations: 1.772 MB / 0.5174 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005454/0.1226, allocations: 360 kB / 0.5178 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.124, allocations: 0.8974 MB / 0.5187 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.1252, allocations: 1.691 MB / 0.5203 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.1269, allocations: 1.966 MB / 0.5222 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005417/0.1323, allocations: 6.28 MB / 0.5284 GB, free: 2.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1324, allocations: 4 kB / 0.5284 GB, free: 2.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1324, allocations: 0 / 0.5284 GB, free: 2.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001076/0.1325, allocations: 0 / 0.5284 GB, free: 2.156 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.1803/0.3128, allocations: 4.244 MB / 0.5325 GB, free: 37.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3128, allocations: 10.77 kB / 0.5325 GB, free: 37.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008339/0.3137, allocations: 0.629 MB / 0.5331 GB, free: 37.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.316, allocations: 0.6031 MB / 0.5337 GB, free: 37.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.3196, allocations: 1.846 MB / 0.5355 GB, free: 37.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.3197, allocations: 237.7 kB / 0.5358 GB, free: 37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/0.3203, allocations: 312.5 kB / 0.536 GB, free: 36.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.335, allocations: 8.666 MB / 0.5445 GB, free: 33.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.747e-05/0.3351, allocations: 18.66 kB / 0.5445 GB, free: 33.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002853/0.3354, allocations: 138.6 kB / 0.5447 GB, free: 33.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002501/0.3379, allocations: 1.557 MB / 0.5462 GB, free: 33.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.3517, allocations: 6.694 MB / 0.5527 GB, free: 30.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02731/0.3791, allocations: 26.32 MB / 0.5784 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005255/0.3844, allocations: 1.951 MB / 0.5803 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008745/0.3853, allocations: 0.8493 MB / 0.5812 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007245/0.3925, allocations: 6.316 MB / 0.5873 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3926, allocations: 43.22 kB / 0.5874 GB, free: 12.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=77): time 2.655e-06/0.3926, allocations: 0 / 0.5874 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.015/0.4076, allocations: 6.421 MB / 0.5936 GB, free: 5.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.4077, allocations: 137.5 kB / 0.5938 GB, free: 5.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/0.4105, allocations: 2.526 MB / 0.5962 GB, free: 3.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.4106, allocations: 41.7 kB / 0.5963 GB, free: 3.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.412, allocations: 2.495 MB / 0.5987 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.4122, allocations: 405 kB / 0.5991 GB, free: 200 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007709/0.413, allocations: 0.7624 MB / 0.5998 GB, free: 15.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.4131, allocations: 308.6 kB / 0.6001 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4144, allocations: 0.9521 MB / 0.6011 GB, free: 14.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.4169, allocations: 3.281 MB / 0.6043 GB, free: 9.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/0.4213, allocations: 4.61 MB / 0.6088 GB, free: 3.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-05/0.4214, allocations: 24 kB / 0.6088 GB, free: 3.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.005707/0.4271, allocations: 4.139 MB / 0.6128 GB, free: 15.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.4272, allocations: 40 kB / 0.6129 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-05/0.4273, allocations: 80 kB / 0.613 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.205e-05/0.4274, allocations: 108 kB / 0.6131 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.4297, allocations: 0.8851 MB / 0.6139 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/0.4298, allocations: 163.4 kB / 0.6141 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.4317, allocations: 172.4 kB / 0.6142 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.432, allocations: 232 kB / 0.6145 GB, free: 14.14 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.00196/0.4339, allocations: 1.585 MB / 0.616 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.4343, allocations: 230.5 kB / 0.6162 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.436, allocations: 1.143 MB / 0.6173 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.436, allocations: 8 kB / 0.6174 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.436, allocations: 7.625 kB / 0.6174 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4361, allocations: 7.969 kB / 0.6174 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007662/0.4437, allocations: 5.989 MB / 0.6232 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/0.4438, allocations: 20.94 kB / 0.6232 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.4444, allocations: 215.6 kB / 0.6234 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.032e-05/0.4444, allocations: 28 kB / 0.6235 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.4445, allocations: 44 kB / 0.6235 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-05/0.4445, allocations: 31.86 kB / 0.6235 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/0.4446, allocations: 27.88 kB / 0.6236 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.4464, allocations: 1.753 MB / 0.6253 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.4469, allocations: 319.5 kB / 0.6256 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.4471, allocations: 51.98 kB / 0.6256 GB, free: 2.094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/0.4478, allocations: 39.98 kB / 0.6257 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.448, allocations: 139.3 kB / 0.6258 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.448, allocations: 52 kB / 0.6259 GB, free: 1.867 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.45, allocations: 1.636 MB / 0.6275 GB, free: 228 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.45, allocations: 3.938 kB / 0.6275 GB, free: 224 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.002742/0.4528, allocations: 0.6445 MB / 0.6281 GB, free: 15.57 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.002262/0.455, allocations: 2.396 MB / 0.6304 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003326/0.4584, allocations: 2.336 MB / 0.6327 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.4584, allocations: 4 kB / 0.6327 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006764/0.4591, allocations: 0.5282 MB / 0.6332 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.4607, allocations: 313.7 kB / 0.6335 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/0.4938, allocations: 27 MB / 0.6599 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003299/0.4972, allocations: 2.754 MB / 0.6626 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002339/0.4995, allocations: 0.9932 MB / 0.6636 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/0.5013, allocations: 1.468 MB / 0.665 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.5013, allocations: 0 / 0.665 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07138/0.5727, allocations: 44.34 MB / 0.7083 GB, free: 9.809 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.36, allocations: 7.922 kB / 0.7083 GB, free: 9.801 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