Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.00151/0.00151, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.00146/0.00146, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3295/0.3295, allocations: 44.23 MB / 326.6 MB, free: 6.785 MB / 254.1 MB " [Timeout remaining time 180] 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.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 67.91 kB / 462.2 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2853, allocations: 61.02 MB / 0.511 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01013/0.2955, allocations: 12.08 MB / 0.5228 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008699/0.3042, allocations: 4.395 MB / 0.527 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.3064, allocations: 87.56 kB / 0.5271 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006004/0.3124, allocations: 2.803 MB / 0.5299 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006224/0.3187, allocations: 2.093 MB / 0.5319 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.3212, allocations: 1.01 MB / 0.5329 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008143/0.3294, allocations: 5.134 MB / 0.5379 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004521/0.3339, allocations: 2.952 MB / 0.5408 GB, free: 288 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.3378, allocations: 1.795 MB / 0.5425 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004487/0.3423, allocations: 2.667 MB / 0.5452 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001286/0.3436, allocations: 368 kB / 0.5455 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.3467, allocations: 1.451 MB / 0.5469 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.3498, allocations: 2.275 MB / 0.5491 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004263/0.354, allocations: 2.587 MB / 0.5517 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.3674, allocations: 8.306 MB / 0.5598 GB, free: 12.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.3675, allocations: 0 / 0.5598 GB, free: 12.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3675, allocations: 4 kB / 0.5598 GB, free: 12.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002702/0.3677, allocations: 0 / 0.5598 GB, free: 12.77 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.0172/0.3849, allocations: 6.064 MB / 0.5657 GB, free: 6.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.385, allocations: 11.89 kB / 0.5657 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001996/0.387, allocations: 0.7985 MB / 0.5665 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09128/0.4783, allocations: 7.246 MB / 0.5736 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009321/0.4876, allocations: 4.129 MB / 0.5776 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.4879, allocations: 258.8 kB / 0.5779 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/0.4895, allocations: 359.6 kB / 0.5782 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02553/0.515, allocations: 12.29 MB / 0.5902 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/0.5152, allocations: 51.58 kB / 0.5902 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007623/0.516, allocations: 163.8 kB / 0.5904 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004598/0.5206, allocations: 2.381 MB / 0.5927 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02498/0.5455, allocations: 10.7 MB / 0.6032 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2938/0.8393, allocations: 48.68 MB / 0.6507 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/0.855, allocations: 5.632 MB / 0.6562 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003952/0.859, allocations: 2.83 MB / 0.659 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01707/0.8761, allocations: 13.04 MB / 0.6717 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.8761, allocations: 60.5 kB / 0.6718 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 4.969e-06/0.8761, allocations: 0 / 0.6718 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1079/0.984, allocations: 39.03 MB / 0.7099 GB, free: 69.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.9841, allocations: 201.9 kB / 0.7101 GB, free: 69.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005466/0.9896, allocations: 4.443 MB / 0.7144 GB, free: 65.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005461/0.9901, allocations: 65.3 kB / 0.7145 GB, free: 65.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.9918, allocations: 3.573 MB / 0.718 GB, free: 61.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.9929, allocations: 0.9894 MB / 0.7189 GB, free: 60.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.9945, allocations: 1.37 MB / 0.7203 GB, free: 59.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.9946, allocations: 301.1 kB / 0.7206 GB, free: 59.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/0.9981, allocations: 3.12 MB / 0.7236 GB, free: 55.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005185/1.003, allocations: 7.046 MB / 0.7305 GB, free: 47.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009604/1.013, allocations: 10.95 MB / 0.7412 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.921e-05/1.013, allocations: 40 kB / 0.7412 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.0216/1.035, allocations: 12.64 MB / 0.7536 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/1.035, allocations: 64 kB / 0.7536 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.035, allocations: 136 kB / 0.7538 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00873/1.044, allocations: 3.245 MB / 0.7569 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005018/1.049, allocations: 1.536 MB / 0.7584 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/1.069, allocations: 16.62 MB / 0.7747 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005975/1.075, allocations: 435.3 kB / 0.7751 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/1.077, allocations: 404.5 kB / 0.7755 GB, free: 14.99 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004745/1.081, allocations: 2.353 MB / 0.7778 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.082, allocations: 429.1 kB / 0.7782 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.099, allocations: 7.492 MB / 0.7855 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-05/1.099, allocations: 28 kB / 0.7855 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.099, allocations: 12 kB / 0.7855 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.53e-05/1.099, allocations: 15.05 kB / 0.7855 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/1.13, allocations: 15 MB / 0.8002 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/1.131, allocations: 4 kB / 0.8002 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.133, allocations: 379.5 kB / 0.8006 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009591/1.142, allocations: 2.927 MB / 0.8034 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005467/1.143, allocations: 36 kB / 0.8035 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02414/1.167, allocations: 14.84 MB / 0.8179 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.167, allocations: 0 / 0.8179 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02292/1.19, allocations: 11.48 MB / 0.8292 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002575/1.192, allocations: 0.9432 MB / 0.8301 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008071/1.193, allocations: 43.98 kB / 0.8301 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/1.196, allocations: 198.2 kB / 0.8303 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006115/1.196, allocations: 149.8 kB / 0.8305 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.196, allocations: 56 kB / 0.8305 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004846/1.201, allocations: 2.779 MB / 0.8332 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.201, allocations: 4 kB / 0.8332 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005992/1.207, allocations: 1.312 MB / 0.8345 GB, free: 2.199 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02269/1.23, allocations: 12.15 MB / 0.8464 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01474/1.245, allocations: 7.518 MB / 0.8537 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.245, allocations: 0 / 0.8537 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005728/1.25, allocations: 2.887 MB / 0.8565 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/1.255, allocations: 0.511 MB / 0.857 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.373/1.628, allocations: 60.86 MB / 0.9165 GB, free: 185.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/1.632, allocations: 3.67 MB / 0.92 GB, free: 182 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004302/1.637, allocations: 2.179 MB / 0.9222 GB, free: 179.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00283/1.639, allocations: 2.225 MB / 0.9243 GB, free: 177.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.292e-06/1.639, allocations: 0 / 0.9243 GB, free: 177.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/1.772, allocations: 95.28 MB / 1.017 GB, free: 82.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.95/29.72, allocations: 7.922 kB / 1.017 GB, free: 82.4 MB / 0.6075 GB " [Timeout remaining time 630] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 32.81760696999845]