Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 112.3 kB / 20.48 MB, free: 1.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 218.6 kB / 23.78 MB, free: 4.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.5 MB / 257.5 MB, free: 7.699 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.94 MB / 360.9 MB, free: 3.883 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 75.88 kB / 0.4962 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3736, allocations: 66.09 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01418/0.3878, allocations: 10.45 MB / 0.571 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3987, allocations: 4.179 MB / 0.5751 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.4012, allocations: 79.62 kB / 0.5751 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005958/0.4071, allocations: 2.702 MB / 0.5778 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005971/0.4131, allocations: 2.074 MB / 0.5798 GB, free: 436 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.416, allocations: 1.002 MB / 0.5808 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009562/0.4255, allocations: 5.369 MB / 0.586 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00495/0.4305, allocations: 2.876 MB / 0.5888 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/0.4347, allocations: 1.776 MB / 0.5906 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005188/0.4399, allocations: 2.515 MB / 0.593 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001374/0.4412, allocations: 368 kB / 0.5934 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.4446, allocations: 1.295 MB / 0.5946 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002899/0.4475, allocations: 2.24 MB / 0.5968 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.4507, allocations: 1.918 MB / 0.5987 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.4624, allocations: 8.253 MB / 0.6068 GB, free: 4.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4624, allocations: 0 / 0.6068 GB, free: 4.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4624, allocations: 0 / 0.6068 GB, free: 4.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003021/0.4627, allocations: 0 / 0.6068 GB, free: 4.688 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.01895/0.4817, allocations: 5.966 MB / 0.6126 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.4818, allocations: 12.03 kB / 0.6126 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00199/0.4837, allocations: 0.7868 MB / 0.6134 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08852/0.5723, allocations: 7.523 MB / 0.6207 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009183/0.5814, allocations: 3.556 MB / 0.6242 GB, free: 2.699 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.5817, allocations: 254.8 kB / 0.6244 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/0.5832, allocations: 351.7 kB / 0.6248 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02551/0.6087, allocations: 12.4 MB / 0.6369 GB, free: 4.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/0.6089, allocations: 51.64 kB / 0.6369 GB, free: 4.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005983/0.6095, allocations: 167.8 kB / 0.6371 GB, free: 4.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004341/0.6138, allocations: 2.381 MB / 0.6394 GB, free: 2.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.6385, allocations: 10.7 MB / 0.6499 GB, free: 7.555 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06679/0.7053, allocations: 46.5 MB / 0.6953 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/0.7215, allocations: 5.349 MB / 0.7005 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004282/0.7258, allocations: 2.845 MB / 0.7033 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02295/0.7488, allocations: 11.34 MB / 0.7144 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.805e-05/0.7488, allocations: 55.81 kB / 0.7144 GB, free: 4.086 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 6.562e-06/0.7488, allocations: 4 kB / 0.7144 GB, free: 4.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3972/1.146, allocations: 39.63 MB / 0.7531 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/1.146, allocations: 209.9 kB / 0.7533 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005758/1.152, allocations: 4.615 MB / 0.7578 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007365/1.153, allocations: 69.64 kB / 0.7579 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/1.155, allocations: 3.563 MB / 0.7614 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.156, allocations: 0.986 MB / 0.7623 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/1.158, allocations: 1.381 MB / 0.7637 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/1.158, allocations: 301.1 kB / 0.764 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/1.162, allocations: 3.125 MB / 0.767 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005124/1.167, allocations: 7.104 MB / 0.774 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.177, allocations: 10.96 MB / 0.7847 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/1.178, allocations: 40 kB / 0.7847 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02279/1.2, allocations: 12.68 MB / 0.7971 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/1.201, allocations: 64 kB / 0.7971 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002021/1.201, allocations: 140 kB / 0.7973 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009457/1.21, allocations: 3.231 MB / 0.8004 GB, free: 99.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005264/1.215, allocations: 1.548 MB / 0.8019 GB, free: 98.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/1.236, allocations: 16.32 MB / 0.8179 GB, free: 81.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/1.242, allocations: 455.4 kB / 0.8183 GB, free: 81.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.243, allocations: 411.9 kB / 0.8187 GB, free: 80.91 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.004308/1.247, allocations: 2.352 MB / 0.821 GB, free: 78.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.248, allocations: 421.2 kB / 0.8214 GB, free: 78.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/1.263, allocations: 7.483 MB / 0.8287 GB, free: 70.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/1.263, allocations: 24 kB / 0.8287 GB, free: 70.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/1.263, allocations: 12 kB / 0.8287 GB, free: 70.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-05/1.263, allocations: 11.95 kB / 0.8288 GB, free: 70.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02878/1.291, allocations: 14.39 MB / 0.8428 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/1.291, allocations: 4 kB / 0.8428 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/1.294, allocations: 375.5 kB / 0.8432 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008244/1.302, allocations: 2.923 MB / 0.846 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006872/1.303, allocations: 43.84 kB / 0.8461 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/1.321, allocations: 14.56 MB / 0.8603 GB, free: 38.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.321, allocations: 3.984 kB / 0.8603 GB, free: 38.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.339, allocations: 11.48 MB / 0.8715 GB, free: 26.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.341, allocations: 389 kB / 0.8719 GB, free: 26.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/1.342, allocations: 40 kB / 0.8719 GB, free: 26.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/1.345, allocations: 191.7 kB / 0.8721 GB, free: 25.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008347/1.346, allocations: 157.7 kB / 0.8723 GB, free: 25.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003814/1.346, allocations: 63.98 kB / 0.8723 GB, free: 25.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004626/1.351, allocations: 2.754 MB / 0.875 GB, free: 23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.31e-07/1.351, allocations: 4 kB / 0.875 GB, free: 23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007025/1.358, allocations: 1.293 MB / 0.8763 GB, free: 21.71 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.01941/1.378, allocations: 12.14 MB / 0.8881 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.39, allocations: 7.532 MB / 0.8955 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.39, allocations: 0 / 0.8955 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005231/1.395, allocations: 2.882 MB / 0.8983 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005037/1.401, allocations: 0.5092 MB / 0.8988 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1318/1.532, allocations: 60.77 MB / 0.9581 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006524/1.539, allocations: 3.143 MB / 0.9612 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006574/1.545, allocations: 2.169 MB / 0.9633 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004925/1.55, allocations: 2.219 MB / 0.9655 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of SimCode: time 1.192e-06/1.55, allocations: 0 / 0.9655 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4436/1.994, allocations: 96.18 MB / 1.059 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/21.22, allocations: 3.938 kB / 1.059 GB, free: 172.7 MB / 0.6544 GB " [Timeout remaining time 639] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 24.482120822009165]