Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001685/0.001685, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002276/0.002276, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2323/0.2323, allocations: 46.96 MB / 360.9 MB, free: 4.125 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.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01337/0.3659, allocations: 10.46 MB / 0.5708 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008715/0.3747, allocations: 4.178 MB / 0.5749 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.3769, allocations: 87.56 kB / 0.575 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005845/0.3828, allocations: 2.69 MB / 0.5776 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005642/0.3884, allocations: 2.074 MB / 0.5796 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.3909, allocations: 1.006 MB / 0.5806 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009177/0.4, allocations: 5.365 MB / 0.5858 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006661/0.4067, allocations: 2.892 MB / 0.5887 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.4108, allocations: 1.783 MB / 0.5904 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004491/0.4153, allocations: 2.64 MB / 0.593 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.4164, allocations: 368 kB / 0.5933 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.4192, allocations: 1.315 MB / 0.5946 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002648/0.4219, allocations: 2.248 MB / 0.5968 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002807/0.4247, allocations: 1.91 MB / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.4351, allocations: 8.253 MB / 0.6067 GB, free: 4.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4351, allocations: 0 / 0.6067 GB, free: 4.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4351, allocations: 0 / 0.6067 GB, free: 4.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002279/0.4353, allocations: 0 / 0.6067 GB, free: 4.758 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01597/0.4513, allocations: 5.95 MB / 0.6126 GB, free: 14.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4513, allocations: 8.031 kB / 0.6126 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001416/0.4527, allocations: 0.7985 MB / 0.6133 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08174/0.5345, allocations: 7.238 MB / 0.6204 GB, free: 6.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009033/0.5435, allocations: 3.557 MB / 0.6239 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.5438, allocations: 254.8 kB / 0.6241 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.545, allocations: 351.7 kB / 0.6245 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/0.5682, allocations: 12.38 MB / 0.6366 GB, free: 5.254 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/0.5684, allocations: 59.5 kB / 0.6366 GB, free: 5.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005825/0.5689, allocations: 167.8 kB / 0.6368 GB, free: 5.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004181/0.5731, allocations: 2.373 MB / 0.6391 GB, free: 2.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02337/0.5965, allocations: 10.68 MB / 0.6495 GB, free: 7.965 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06637/0.6629, allocations: 46.34 MB / 0.6948 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/0.6783, allocations: 5.169 MB / 0.6998 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004415/0.6827, allocations: 2.846 MB / 0.7026 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02283/0.7055, allocations: 11.29 MB / 0.7136 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.7056, allocations: 55.86 kB / 0.7137 GB, free: 4.883 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 4.619e-06/0.7056, allocations: 0 / 0.7137 GB, free: 4.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.4358/1.141, allocations: 38.57 MB / 0.7513 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/1.141, allocations: 208.9 kB / 0.7515 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006056/1.148, allocations: 4.627 MB / 0.7561 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007304/1.148, allocations: 61.7 kB / 0.7561 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/1.15, allocations: 3.562 MB / 0.7596 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/1.151, allocations: 0.993 MB / 0.7606 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/1.153, allocations: 1.381 MB / 0.7619 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/1.153, allocations: 305.1 kB / 0.7622 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003417/1.156, allocations: 3.11 MB / 0.7652 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/1.161, allocations: 7.092 MB / 0.7722 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00979/1.171, allocations: 10.96 MB / 0.7829 GB, free: 118 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/1.171, allocations: 40 kB / 0.7829 GB, free: 118 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.0226/1.194, allocations: 12.64 MB / 0.7953 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.194, allocations: 64 kB / 0.7953 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/1.194, allocations: 136 kB / 0.7954 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00844/1.202, allocations: 3.249 MB / 0.7986 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004992/1.207, allocations: 1.541 MB / 0.8001 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/1.228, allocations: 16.32 MB / 0.8161 GB, free: 83.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006376/1.234, allocations: 432.8 kB / 0.8165 GB, free: 83.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.235, allocations: 411.9 kB / 0.8169 GB, free: 83.07 MB / 0.5606 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.0043/1.24, allocations: 2.347 MB / 0.8192 GB, free: 80.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.241, allocations: 421.2 kB / 0.8196 GB, free: 80.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.253, allocations: 7.483 MB / 0.8269 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/1.253, allocations: 32 kB / 0.8269 GB, free: 72.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.253, allocations: 8 kB / 0.8269 GB, free: 72.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-05/1.253, allocations: 15.95 kB / 0.8269 GB, free: 72.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.278, allocations: 14.37 MB / 0.8409 GB, free: 58.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/1.278, allocations: 0 / 0.8409 GB, free: 58.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.28, allocations: 387.4 kB / 0.8413 GB, free: 57.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007552/1.288, allocations: 2.927 MB / 0.8442 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006141/1.288, allocations: 39.94 kB / 0.8442 GB, free: 55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/1.305, allocations: 14.55 MB / 0.8584 GB, free: 40.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.305, allocations: 0 / 0.8584 GB, free: 40.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/1.322, allocations: 11.49 MB / 0.8696 GB, free: 28.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.324, allocations: 389 kB / 0.87 GB, free: 28.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.325, allocations: 44 kB / 0.8701 GB, free: 28.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.327, allocations: 191.7 kB / 0.8702 GB, free: 28.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006397/1.328, allocations: 153.7 kB / 0.8704 GB, free: 28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.328, allocations: 60 kB / 0.8704 GB, free: 27.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003813/1.332, allocations: 2.746 MB / 0.8731 GB, free: 25.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.332, allocations: 0 / 0.8731 GB, free: 25.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00671/1.339, allocations: 1.297 MB / 0.8744 GB, free: 23.9 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.0171/1.356, allocations: 12.14 MB / 0.8863 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.367, allocations: 7.526 MB / 0.8936 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.367, allocations: 384 / 0.8936 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004248/1.371, allocations: 2.886 MB / 0.8964 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/1.374, allocations: 0.5139 MB / 0.8969 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.119/1.493, allocations: 60.73 MB / 0.9562 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006015/1.499, allocations: 3.139 MB / 0.9593 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006214/1.505, allocations: 2.172 MB / 0.9614 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004652/1.51, allocations: 2.221 MB / 0.9636 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/1.51, allocations: 0 / 0.9636 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4354/1.946, allocations: 99.18 MB / 1.06 GB, free: 171.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/19.17, allocations: 7.438 kB / 1.06 GB, free: 171.8 MB / 0.6544 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 22.461684040987166]