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.001037/0.001037, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001308/0.001308, allocations: 169.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9259/0.9259, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.1475/0.1475, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.995e-05, allocations: 10.08 kB / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009831/0.009861, allocations: 10.51 MB / 417.4 MB, free: 7.656 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008579/0.01844, allocations: 4.189 MB / 421.6 MB, free: 3.453 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.02062, allocations: 83.62 kB / 421.6 MB, free: 3.371 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003858/0.02448, allocations: 2.834 MB / 424.5 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.02955, allocations: 2.181 MB / 426.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.03178, allocations: 1.107 MB / 427.8 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006168/0.03795, allocations: 5.797 MB / 433.6 MB, free: 7.418 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004183/0.04213, allocations: 3.399 MB / 437 MB, free: 3.969 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004926/0.04706, allocations: 2.721 MB / 439.7 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00382/0.05088, allocations: 2.751 MB / 442.4 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007832/0.05166, allocations: 379.9 kB / 442.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.05374, allocations: 1.377 MB / 444.2 MB, free: 12.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.05557, allocations: 2.392 MB / 446.6 MB, free: 10.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.05748, allocations: 1.53 MB / 448.1 MB, free: 8.801 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008945/0.06643, allocations: 8.427 MB / 456.5 MB, free: 356 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.06644, allocations: 3.984 kB / 456.5 MB, free: 352 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.06644, allocations: 0 / 456.5 MB, free: 352 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002928/0.06673, allocations: 0 / 456.5 MB, free: 352 kB / 426.7 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.01458/0.08132, allocations: 6.067 MB / 462.6 MB, free: 10.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.673e-05/0.08138, allocations: 8.031 kB / 462.6 MB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001768/0.08315, allocations: 0.7906 MB / 463.4 MB, free: 9.398 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03956/0.1227, allocations: 7.523 MB / 470.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2292/0.3519, allocations: 3.557 MB / 474.5 MB, free: 94.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.3522, allocations: 257.2 kB / 474.7 MB, free: 94.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.354, allocations: 345.4 kB / 475.1 MB, free: 94.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.373, allocations: 12.41 MB / 487.5 MB, free: 89.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000185/0.3732, allocations: 56.27 kB / 487.5 MB, free: 89.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006495/0.3738, allocations: 167.3 kB / 487.7 MB, free: 88.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002312/0.3762, allocations: 2.381 MB / 490.1 MB, free: 88.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.3943, allocations: 10.69 MB / 0.489 GB, free: 85.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06002/0.4544, allocations: 46.82 MB / 0.5347 GB, free: 48.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009732/0.4641, allocations: 5.376 MB / 0.54 GB, free: 43.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.4668, allocations: 2.838 MB / 0.5428 GB, free: 40.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.4802, allocations: 11.59 MB / 0.5541 GB, free: 29.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4802, allocations: 55.86 kB / 0.5541 GB, free: 29.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=193): time 6.372e-06/0.4802, allocations: 3.094 kB / 0.5541 GB, free: 29.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=254): time 0.07963/0.5598, allocations: 40.03 MB / 0.5932 GB, free: 5.117 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.5599, allocations: 209.9 kB / 0.5934 GB, free: 4.867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009712/0.5697, allocations: 5.064 MB / 0.5984 GB, free: 15.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/0.5707, allocations: 65.7 kB / 0.5984 GB, free: 15.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0026/0.5733, allocations: 3.543 MB / 0.6019 GB, free: 12.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001546/0.5748, allocations: 0.9767 MB / 0.6029 GB, free: 11.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00252/0.5773, allocations: 1.35 MB / 0.6042 GB, free: 9.789 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5774, allocations: 305.1 kB / 0.6045 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004016/0.5815, allocations: 3.121 MB / 0.6075 GB, free: 6.363 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006269/0.5877, allocations: 7.108 MB / 0.6145 GB, free: 13.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.5985, allocations: 10.98 MB / 0.6252 GB, free: 416 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/0.5986, allocations: 40 kB / 0.6252 GB, free: 376 kB / 490.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02241/0.621, allocations: 12.66 MB / 0.6376 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.6212, allocations: 67.98 kB / 0.6376 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002037/0.6214, allocations: 141 kB / 0.6378 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005753/0.6271, allocations: 3.235 MB / 0.6409 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00502/0.6321, allocations: 1.544 MB / 0.6424 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2584/0.8906, allocations: 16.37 MB / 0.6584 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/0.896, allocations: 0.5189 MB / 0.6589 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/0.897, allocations: 404.7 kB / 0.6593 GB, free: 152.6 MB / 0.5105 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.003639/0.9006, allocations: 2.343 MB / 0.6616 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008794/0.9015, allocations: 431.2 kB / 0.662 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008646/0.9102, allocations: 7.487 MB / 0.6693 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.871e-05/0.9102, allocations: 25.56 kB / 0.6694 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/0.9102, allocations: 17.48 kB / 0.6694 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.9102, allocations: 13.5 kB / 0.6694 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/0.93, allocations: 14.51 MB / 0.6836 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/0.93, allocations: 2.688 kB / 0.6836 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.9312, allocations: 380.8 kB / 0.6839 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00606/0.9373, allocations: 2.92 MB / 0.6868 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/0.9375, allocations: 44.17 kB / 0.6868 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/0.9536, allocations: 14.64 MB / 0.7011 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.9536, allocations: 2.5 kB / 0.7011 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/0.9676, allocations: 11.47 MB / 0.7123 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/0.9698, allocations: 0.9403 MB / 0.7132 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006777/0.9705, allocations: 39.69 kB / 0.7133 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.9721, allocations: 268.3 kB / 0.7135 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004648/0.9725, allocations: 162.8 kB / 0.7137 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.9727, allocations: 62.02 kB / 0.7137 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003778/0.9764, allocations: 3.088 MB / 0.7168 GB, free: 133 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.9764, allocations: 0 / 0.7168 GB, free: 133 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004844/0.9813, allocations: 1.49 MB / 0.7182 GB, free: 132 MB / 0.5105 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.0119/0.9932, allocations: 12.17 MB / 0.7301 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.003, allocations: 7.53 MB / 0.7375 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.003, allocations: 4 kB / 0.7375 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.007, allocations: 2.884 MB / 0.7403 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.01, allocations: 0.5206 MB / 0.7408 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07707/1.087, allocations: 62.19 MB / 0.8015 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003948/1.091, allocations: 3.153 MB / 0.8046 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003811/1.095, allocations: 2.188 MB / 0.8067 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/1.097, allocations: 2.242 MB / 0.8089 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of SimCode: time 3.086e-06/1.097, allocations: 0 / 0.8089 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3184/1.416, allocations: 99.6 MB / 0.9062 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.9, allocations: 0 / 0.9062 GB, free: 147.4 MB / 0.5261 GB " [Timeout remaining time 647] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/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: 15.270487729460001]