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.001365/0.001365, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.001515/0.001515, allocations: 215.5 kB / 23 MB, free: 5.004 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.413/1.413, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.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.2197/0.2197, allocations: 44.23 MB / 330.3 MB, free: 9.52 MB / 270.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.002294/0.002294, allocations: 75.88 kB / 467.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1169, allocations: 61.05 MB / 0.5162 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01447/0.1314, allocations: 12.1 MB / 0.528 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009324/0.1407, allocations: 4.427 MB / 0.5323 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.1428, allocations: 87.56 kB / 0.5324 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005838/0.1486, allocations: 2.811 MB / 0.5351 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.1544, allocations: 2.089 MB / 0.5372 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.1568, allocations: 1.018 MB / 0.5382 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2349/0.3917, allocations: 5.134 MB / 0.5432 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004746/0.3965, allocations: 2.894 MB / 0.546 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.4002, allocations: 1.795 MB / 0.5478 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/0.4057, allocations: 2.663 MB / 0.5504 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.4074, allocations: 371 kB / 0.5507 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004688/0.4121, allocations: 1.454 MB / 0.5521 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004726/0.4168, allocations: 2.279 MB / 0.5544 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00737/0.4242, allocations: 2.586 MB / 0.5569 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.4396, allocations: 8.315 MB / 0.565 GB, free: 4.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4396, allocations: 0 / 0.565 GB, free: 4.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4396, allocations: 0 / 0.565 GB, free: 4.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004704/0.4401, allocations: 0 / 0.565 GB, free: 4.398 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01925/0.4594, allocations: 5.988 MB / 0.5709 GB, free: 436 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4594, allocations: 13.8 kB / 0.5709 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001438/0.4608, allocations: 0.7923 MB / 0.5716 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08155/0.5424, allocations: 7.249 MB / 0.5787 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00981/0.5522, allocations: 4.068 MB / 0.5827 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.5524, allocations: 254.1 kB / 0.5829 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.5536, allocations: 352.5 kB / 0.5833 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/0.5785, allocations: 12.29 MB / 0.5953 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.5786, allocations: 52.23 kB / 0.5953 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000478/0.5791, allocations: 164.9 kB / 0.5955 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004132/0.5832, allocations: 2.385 MB / 0.5978 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/0.6078, allocations: 10.7 MB / 0.6083 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07069/0.6785, allocations: 48.58 MB / 0.6557 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/0.6939, allocations: 5.187 MB / 0.6608 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/0.6982, allocations: 2.837 MB / 0.6635 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02486/0.7231, allocations: 11.88 MB / 0.6751 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.7231, allocations: 63.88 kB / 0.6752 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=193): time 6.552e-06/0.7231, allocations: 2.016 kB / 0.6752 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.1176/0.8408, allocations: 38.59 MB / 0.7129 GB, free: 5.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.8409, allocations: 209.9 kB / 0.7131 GB, free: 5.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00747/0.8484, allocations: 4.43 MB / 0.7174 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007855/0.8492, allocations: 61.7 kB / 0.7175 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003114/0.8523, allocations: 3.572 MB / 0.721 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00172/0.854, allocations: 0.992 MB / 0.7219 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/0.8563, allocations: 1.38 MB / 0.7233 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8565, allocations: 301.1 kB / 0.7236 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005352/0.8618, allocations: 3.117 MB / 0.7266 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009684/0.8715, allocations: 7.048 MB / 0.7335 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/0.8875, allocations: 10.96 MB / 0.7442 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/0.8876, allocations: 36 kB / 0.7442 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03058/0.9182, allocations: 12.66 MB / 0.7566 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.9183, allocations: 64 kB / 0.7566 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.9185, allocations: 139 kB / 0.7568 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.9286, allocations: 3.239 MB / 0.7599 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2165/1.145, allocations: 1.538 MB / 0.7614 GB, free: 192 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/1.171, allocations: 16.49 MB / 0.7775 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/1.177, allocations: 434.6 kB / 0.778 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/1.178, allocations: 401.6 kB / 0.7783 GB, free: 186.6 MB / 0.5919 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.005004/1.183, allocations: 2.352 MB / 0.7806 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009231/1.184, allocations: 427.3 kB / 0.781 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/1.2, allocations: 7.496 MB / 0.7884 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.085e-05/1.2, allocations: 28.41 kB / 0.7884 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.231e-05/1.2, allocations: 10.78 kB / 0.7884 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.553e-05/1.2, allocations: 12.11 kB / 0.7884 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.227, allocations: 14.98 MB / 0.803 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/1.227, allocations: 3.656 kB / 0.803 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.229, allocations: 380.6 kB / 0.8034 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007818/1.237, allocations: 2.924 MB / 0.8063 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006234/1.237, allocations: 43.89 kB / 0.8063 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/1.255, allocations: 14.72 MB / 0.8207 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.255, allocations: 4 kB / 0.8207 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.272, allocations: 11.48 MB / 0.8319 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.274, allocations: 0.8688 MB / 0.8327 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008514/1.275, allocations: 40.56 kB / 0.8328 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/1.277, allocations: 191.7 kB / 0.833 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/1.278, allocations: 156.1 kB / 0.8331 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/1.278, allocations: 63.67 kB / 0.8332 GB, free: 154 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003691/1.282, allocations: 2.778 MB / 0.8359 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/1.282, allocations: 0 / 0.8359 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005298/1.287, allocations: 1.316 MB / 0.8372 GB, free: 149.9 MB / 0.5919 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.01615/1.303, allocations: 12.14 MB / 0.849 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.315, allocations: 7.521 MB / 0.8564 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.315, allocations: 0 / 0.8564 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004232/1.319, allocations: 2.897 MB / 0.8592 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/1.322, allocations: 0.5083 MB / 0.8597 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08902/1.411, allocations: 60.96 MB / 0.9192 GB, free: 59.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004014/1.415, allocations: 3.678 MB / 0.9228 GB, free: 55.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004727/1.42, allocations: 2.171 MB / 0.9249 GB, free: 53.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003273/1.423, allocations: 2.229 MB / 0.9271 GB, free: 51.56 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/1.423, allocations: 0 / 0.9271 GB, free: 51.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3964/1.82, allocations: 101.2 MB / 1.026 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.71/31.53, allocations: 5.719 kB / 1.026 GB, free: 199.4 MB / 0.6075 GB " [Timeout remaining time 628] (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: 34.636074559995905]