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.001351/0.001351, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001653/0.001653, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2301/0.2301, allocations: 46.97 MB / 360.9 MB, free: 4.035 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.002035/0.002035, allocations: 71.88 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01352/0.3209, allocations: 10.45 MB / 0.5708 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009697/0.3306, allocations: 4.185 MB / 0.5749 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.3327, allocations: 87.56 kB / 0.575 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005752/0.3385, allocations: 2.694 MB / 0.5776 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.3443, allocations: 2.073 MB / 0.5796 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.3467, allocations: 1.006 MB / 0.5806 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007908/0.3546, allocations: 5.369 MB / 0.5859 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004667/0.3592, allocations: 2.876 MB / 0.5887 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/0.3629, allocations: 1.783 MB / 0.5904 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/0.3674, allocations: 2.5 MB / 0.5928 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.3686, allocations: 368 kB / 0.5932 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.3717, allocations: 1.299 MB / 0.5945 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002801/0.3745, allocations: 2.248 MB / 0.5967 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003219/0.3777, allocations: 1.907 MB / 0.5985 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.3892, allocations: 8.265 MB / 0.6066 GB, free: 4.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3892, allocations: 0 / 0.6066 GB, free: 4.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3892, allocations: 0 / 0.6066 GB, free: 4.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002169/0.3894, allocations: 0 / 0.6066 GB, free: 4.941 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.01625/0.4056, allocations: 5.94 MB / 0.6124 GB, free: 14.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4057, allocations: 12.03 kB / 0.6124 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001578/0.4073, allocations: 0.7946 MB / 0.6132 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08987/0.4971, allocations: 7.246 MB / 0.6203 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009222/0.5064, allocations: 3.549 MB / 0.6237 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.5066, allocations: 257.3 kB / 0.624 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/0.5081, allocations: 347.8 kB / 0.6243 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.5328, allocations: 12.38 MB / 0.6364 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001977/0.533, allocations: 55.53 kB / 0.6364 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006007/0.5336, allocations: 163.8 kB / 0.6366 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004317/0.5379, allocations: 2.381 MB / 0.6389 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02313/0.5611, allocations: 10.68 MB / 0.6494 GB, free: 8.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06591/0.627, allocations: 46.34 MB / 0.6946 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/0.6422, allocations: 5.171 MB / 0.6997 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004397/0.6466, allocations: 2.846 MB / 0.7024 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02115/0.6678, allocations: 11.29 MB / 0.7135 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/0.6678, allocations: 55.88 kB / 0.7135 GB, free: 5.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 4.969e-06/0.6678, allocations: 0 / 0.7135 GB, free: 5.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3729/1.041, allocations: 38.57 MB / 0.7512 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/1.041, allocations: 217 kB / 0.7514 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005633/1.046, allocations: 4.619 MB / 0.7559 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007842/1.047, allocations: 61.7 kB / 0.756 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.049, allocations: 3.561 MB / 0.7594 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000915/1.05, allocations: 0.9916 MB / 0.7604 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/1.052, allocations: 1.384 MB / 0.7618 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.635e-05/1.052, allocations: 301.1 kB / 0.762 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003527/1.055, allocations: 3.117 MB / 0.7651 GB, free: 140 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/1.06, allocations: 7.092 MB / 0.772 GB, free: 131 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009209/1.069, allocations: 10.96 MB / 0.7827 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/1.069, allocations: 40 kB / 0.7828 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02089/1.09, allocations: 12.64 MB / 0.7951 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.812e-05/1.09, allocations: 64 kB / 0.7952 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.09, allocations: 140 kB / 0.7953 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008242/1.099, allocations: 3.243 MB / 0.7985 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/1.103, allocations: 1.532 MB / 0.8 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/1.123, allocations: 16.33 MB / 0.8159 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007245/1.13, allocations: 435.4 kB / 0.8163 GB, free: 83.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0024/1.132, allocations: 411.9 kB / 0.8167 GB, free: 83.27 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.005346/1.138, allocations: 2.34 MB / 0.819 GB, free: 80.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.139, allocations: 425.2 kB / 0.8194 GB, free: 80.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.152, allocations: 7.487 MB / 0.8267 GB, free: 73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.21e-05/1.152, allocations: 28 kB / 0.8267 GB, free: 72.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.152, allocations: 12 kB / 0.8268 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/1.152, allocations: 11.95 kB / 0.8268 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/1.176, allocations: 14.36 MB / 0.8408 GB, free: 58.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/1.176, allocations: 7.516 kB / 0.8408 GB, free: 58.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.178, allocations: 384.3 kB / 0.8412 GB, free: 58.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007763/1.186, allocations: 2.923 MB / 0.844 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004836/1.186, allocations: 43.94 kB / 0.8441 GB, free: 55.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/1.203, allocations: 14.55 MB / 0.8583 GB, free: 40.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.203, allocations: 4 kB / 0.8583 GB, free: 40.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/1.222, allocations: 11.47 MB / 0.8695 GB, free: 28.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.223, allocations: 393 kB / 0.8698 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/1.225, allocations: 44 kB / 0.8699 GB, free: 28.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/1.228, allocations: 195.6 kB / 0.8701 GB, free: 28.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008853/1.228, allocations: 157.6 kB / 0.8702 GB, free: 28.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003459/1.229, allocations: 63.98 kB / 0.8703 GB, free: 28.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004338/1.233, allocations: 2.742 MB / 0.873 GB, free: 25.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/1.233, allocations: 0 / 0.873 GB, free: 25.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00638/1.24, allocations: 1.293 MB / 0.8742 GB, free: 24.11 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.01767/1.257, allocations: 12.14 MB / 0.8861 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.268, allocations: 7.527 MB / 0.8934 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.268, allocations: 0 / 0.8934 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004668/1.273, allocations: 2.881 MB / 0.8962 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/1.278, allocations: 0.5161 MB / 0.8968 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1195/1.397, allocations: 60.74 MB / 0.9561 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006474/1.404, allocations: 3.139 MB / 0.9591 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006767/1.41, allocations: 2.165 MB / 0.9613 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004993/1.415, allocations: 2.221 MB / 0.9634 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of SimCode: time 1.503e-06/1.415, allocations: 0 / 0.9634 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.396/1.811, allocations: 96.23 MB / 1.057 GB, free: 175.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/20.02, allocations: 7.422 kB / 1.057 GB, free: 175.3 MB / 0.6544 GB " [Timeout remaining time 640] (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: 23.207676905207336]