Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002017/0.002017, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002613/0.002613, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.508/1.508, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 44.91 MB / 355.1 MB, free: 12.42 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002041/0.002041, allocations: 63.91 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1374, allocations: 65.42 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01535/0.1527, allocations: 12.01 MB / 0.5635 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1635, allocations: 4.405 MB / 0.5678 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.1662, allocations: 91.56 kB / 0.5679 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00606/0.1722, allocations: 2.784 MB / 0.5706 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006152/0.1784, allocations: 2.054 MB / 0.5726 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.1811, allocations: 1.002 MB / 0.5736 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008935/0.19, allocations: 5.381 MB / 0.5788 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005446/0.1955, allocations: 2.948 MB / 0.5817 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003907/0.1994, allocations: 1.779 MB / 0.5834 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004792/0.2042, allocations: 2.636 MB / 0.586 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001686/0.2059, allocations: 368 kB / 0.5864 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.2099, allocations: 1.451 MB / 0.5878 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003389/0.2133, allocations: 2.244 MB / 0.59 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005474/0.2188, allocations: 2.555 MB / 0.5925 GB, free: 284 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3084/0.5272, allocations: 8.217 MB / 0.6005 GB, free: 12.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5272, allocations: 0 / 0.6005 GB, free: 12.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5272, allocations: 0.9062 kB / 0.6005 GB, free: 12.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003927/0.5276, allocations: 0 / 0.6005 GB, free: 12.56 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.02356/0.5512, allocations: 6.022 MB / 0.6064 GB, free: 10.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5512, allocations: 8.781 kB / 0.6064 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00362/0.5549, allocations: 0.7952 MB / 0.6072 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09325/0.6481, allocations: 7.243 MB / 0.6142 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.6581, allocations: 3.62 MB / 0.6178 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.6584, allocations: 254 kB / 0.618 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/0.6611, allocations: 357.5 kB / 0.6184 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03176/0.6928, allocations: 12.29 MB / 0.6304 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/0.6931, allocations: 50.2 kB / 0.6304 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/0.6948, allocations: 161.8 kB / 0.6306 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003946/0.6988, allocations: 2.384 MB / 0.6329 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/0.7252, allocations: 10.7 MB / 0.6433 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07769/0.8029, allocations: 48.64 MB / 0.6908 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01771/0.8206, allocations: 5.642 MB / 0.6963 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004909/0.8256, allocations: 2.824 MB / 0.6991 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02718/0.8527, allocations: 13.02 MB / 0.7118 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.8528, allocations: 59.25 kB / 0.7119 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 4.488e-06/0.8528, allocations: 0 / 0.7119 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254): time 0.1361/0.9889, allocations: 38.92 MB / 0.7499 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.9891, allocations: 213.4 kB / 0.7501 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008432/0.9975, allocations: 4.39 MB / 0.7544 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009762/0.9985, allocations: 65.7 kB / 0.7544 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003137/1.002, allocations: 3.564 MB / 0.7579 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001944/1.004, allocations: 0.9901 MB / 0.7589 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/1.006, allocations: 1.377 MB / 0.7602 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.006, allocations: 301.1 kB / 0.7605 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/1.011, allocations: 3.117 MB / 0.7636 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008807/1.02, allocations: 7.05 MB / 0.7704 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/1.035, allocations: 10.96 MB / 0.7811 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.744e-05/1.035, allocations: 40 kB / 0.7812 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02753/1.063, allocations: 12.65 MB / 0.7935 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.063, allocations: 66.34 kB / 0.7936 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/1.063, allocations: 136 kB / 0.7937 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/1.073, allocations: 3.241 MB / 0.7969 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005808/1.079, allocations: 1.532 MB / 0.7984 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02763/1.107, allocations: 16.63 MB / 0.8146 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006611/1.113, allocations: 427.4 kB / 0.815 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/1.115, allocations: 408 kB / 0.8154 GB, free: 2.539 MB / 0.6231 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.006027/1.121, allocations: 2.339 MB / 0.8177 GB, free: 192 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.122, allocations: 429.4 kB / 0.8181 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01725/1.139, allocations: 7.487 MB / 0.8254 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.929e-05/1.139, allocations: 31.98 kB / 0.8255 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.139, allocations: 12 kB / 0.8255 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.7e-05/1.139, allocations: 11.97 kB / 0.8255 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3135/1.453, allocations: 15 MB / 0.8401 GB, free: 223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/1.453, allocations: 3.016 kB / 0.8401 GB, free: 223 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.455, allocations: 379.5 kB / 0.8405 GB, free: 223 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008566/1.463, allocations: 2.924 MB / 0.8434 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004968/1.464, allocations: 38.56 kB / 0.8434 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/1.483, allocations: 14.82 MB / 0.8579 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.483, allocations: 0 / 0.8579 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.5, allocations: 11.48 MB / 0.8691 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.501, allocations: 465.6 kB / 0.8695 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006427/1.501, allocations: 40.97 kB / 0.8696 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.503, allocations: 192.2 kB / 0.8697 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006012/1.504, allocations: 158.4 kB / 0.8699 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.504, allocations: 59.31 kB / 0.8699 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004721/1.509, allocations: 2.747 MB / 0.8726 GB, free: 210 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.509, allocations: 0 / 0.8726 GB, free: 210 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006426/1.515, allocations: 1.297 MB / 0.8739 GB, free: 208.9 MB / 0.6387 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.01736/1.533, allocations: 12.14 MB / 0.8857 GB, free: 197 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.544, allocations: 7.524 MB / 0.8931 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.544, allocations: 0 / 0.8931 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004299/1.548, allocations: 2.887 MB / 0.8959 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/1.552, allocations: 0.5148 MB / 0.8964 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08372/1.636, allocations: 60.66 MB / 0.9557 GB, free: 119.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00431/1.64, allocations: 3.67 MB / 0.9592 GB, free: 115.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004491/1.645, allocations: 2.169 MB / 0.9614 GB, free: 113.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002792/1.648, allocations: 2.221 MB / 0.9635 GB, free: 111.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.372e-06/1.648, allocations: 0 / 0.9635 GB, free: 111.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/1.788, allocations: 94.93 MB / 1.056 GB, free: 16.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.84/31.62, allocations: 2.188 kB / 1.056 GB, free: 16.75 MB / 0.6387 GB " [Timeout remaining time 628] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 34.90524680912495]