Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2404/0.2404, allocations: 46.91 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.88 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1345, allocations: 65.98 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01659/0.1511, allocations: 13.3 MB / 0.5684 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1617, allocations: 4.881 MB / 0.5731 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.1638, allocations: 99.56 kB / 0.5732 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007917/0.1717, allocations: 4.014 MB / 0.5771 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00698/0.1787, allocations: 2.241 MB / 0.5793 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.1821, allocations: 1.17 MB / 0.5805 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.1921, allocations: 5.825 MB / 0.5862 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006303/0.1984, allocations: 4.331 MB / 0.5904 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.291/0.4894, allocations: 2.196 MB / 0.5925 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005272/0.4947, allocations: 3.188 MB / 0.5957 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.4965, allocations: 0.4993 MB / 0.5961 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.5005, allocations: 1.691 MB / 0.5978 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004114/0.5046, allocations: 2.717 MB / 0.6004 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005973/0.5106, allocations: 3.082 MB / 0.6035 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.5265, allocations: 10.1 MB / 0.6133 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.5265, allocations: 0.9062 kB / 0.6133 GB, free: 5.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5265, allocations: 0 / 0.6133 GB, free: 5.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004521/0.5269, allocations: 0 / 0.6133 GB, free: 5.527 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02774/0.5547, allocations: 6.812 MB / 0.62 GB, free: 1.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.5547, allocations: 9.406 kB / 0.62 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004189/0.5589, allocations: 0.918 MB / 0.6209 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0939/0.6528, allocations: 7.438 MB / 0.6281 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.6638, allocations: 4.166 MB / 0.6322 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/0.6642, allocations: 352.5 kB / 0.6325 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/0.6665, allocations: 435.2 kB / 0.633 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03442/0.7009, allocations: 13.78 MB / 0.6464 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002131/0.7011, allocations: 55.25 kB / 0.6465 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/0.7022, allocations: 198.7 kB / 0.6467 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004341/0.7066, allocations: 2.408 MB / 0.649 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02986/0.7364, allocations: 11.62 MB / 0.6604 GB, free: 1.574 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07952/0.816, allocations: 51.16 MB / 0.7103 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01382/0.8298, allocations: 4.506 MB / 0.7147 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/0.8342, allocations: 2.582 MB / 0.7172 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/0.8565, allocations: 12.43 MB / 0.7294 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/0.8566, allocations: 59.44 kB / 0.7294 GB, free: 9.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=191): time 5.571e-06/0.8566, allocations: 0 / 0.7294 GB, free: 9.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=242): time 0.1662/1.023, allocations: 42.56 MB / 0.771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/1.023, allocations: 231.7 kB / 0.7712 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.033, allocations: 4.802 MB / 0.7759 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008973/1.034, allocations: 61.7 kB / 0.776 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00429/1.038, allocations: 4.051 MB / 0.7799 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.04, allocations: 0.9534 MB / 0.7809 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00314/1.043, allocations: 1.476 MB / 0.7823 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.043, allocations: 305.1 kB / 0.7826 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006052/1.049, allocations: 3.262 MB / 0.7858 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.06, allocations: 7.549 MB / 0.7931 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/1.077, allocations: 11.61 MB / 0.8045 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001962/1.077, allocations: 44 kB / 0.8045 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03896/1.116, allocations: 13.84 MB / 0.818 GB, free: 11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003074/1.117, allocations: 72 kB / 0.8181 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003652/1.117, allocations: 148 kB / 0.8182 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/1.13, allocations: 3.775 MB / 0.8219 GB, free: 7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/1.137, allocations: 1.599 MB / 0.8235 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03165/1.168, allocations: 19.17 MB / 0.8422 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006555/1.175, allocations: 463.4 kB / 0.8427 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/1.177, allocations: 428 kB / 0.8431 GB, free: 1.211 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2862/1.463, allocations: 2.649 MB / 0.8457 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.464, allocations: 457.7 kB / 0.8461 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/1.485, allocations: 8.097 MB / 0.854 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.403e-05/1.485, allocations: 26.59 kB / 0.854 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.241e-05/1.485, allocations: 11.47 kB / 0.854 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-05/1.485, allocations: 12.78 kB / 0.854 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0384/1.523, allocations: 17.27 MB / 0.8709 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-05/1.523, allocations: 3.875 kB / 0.8709 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/1.526, allocations: 389.8 kB / 0.8713 GB, free: 222.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/1.537, allocations: 3.829 MB / 0.875 GB, free: 222.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005804/1.537, allocations: 43.16 kB / 0.8751 GB, free: 222.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/1.558, allocations: 17.53 MB / 0.8922 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.558, allocations: 11.86 kB / 0.8922 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/1.58, allocations: 12.52 MB / 0.9044 GB, free: 199.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.581, allocations: 482.6 kB / 0.9049 GB, free: 199 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008596/1.582, allocations: 47.88 kB / 0.9049 GB, free: 199 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/1.584, allocations: 203.7 kB / 0.9051 GB, free: 198.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006234/1.585, allocations: 149.9 kB / 0.9053 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/1.585, allocations: 63.75 kB / 0.9053 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004538/1.59, allocations: 2.998 MB / 0.9083 GB, free: 195.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/1.59, allocations: 0 / 0.9083 GB, free: 195.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006988/1.596, allocations: 1.423 MB / 0.9097 GB, free: 194.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02131/1.618, allocations: 13.23 MB / 0.9226 GB, free: 181 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.629, allocations: 7.586 MB / 0.93 GB, free: 173.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.629, allocations: 4 kB / 0.93 GB, free: 173.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003709/1.632, allocations: 2.737 MB / 0.9327 GB, free: 170.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.636, allocations: 0.5364 MB / 0.9332 GB, free: 170.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1099/1.746, allocations: 65.92 MB / 0.9976 GB, free: 97.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004992/1.751, allocations: 4.098 MB / 1.002 GB, free: 93.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004544/1.755, allocations: 2.171 MB / 1.004 GB, free: 91.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00363/1.759, allocations: 2.479 MB / 1.006 GB, free: 88.95 MB / 0.6544 GB Notification: Performance of SimCode: time 1.312e-06/1.759, allocations: 0 / 1.006 GB, free: 88.95 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.433/2.192, allocations: 103.4 MB / 1.107 GB, free: 225.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.56/34.75, allocations: 2.344 kB / 1.107 GB, free: 225.1 MB / 0.6544 GB " [Timeout remaining time 625] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,revolute.phi,revolute.w Variables in the result:time,revolute.phi,revolute.w [Calling sys.exit(0), Time elapsed: 38.0930634529941]