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.001292/0.001292, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001522/0.001522, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2392/0.2392, allocations: 44.92 MB / 358.8 MB, free: 6.262 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.002226/0.002226, allocations: 67.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3588, allocations: 65.46 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01562/0.3744, allocations: 12.04 MB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009834/0.3842, allocations: 4.428 MB / 0.5731 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.3863, allocations: 87.56 kB / 0.5732 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006002/0.3923, allocations: 2.799 MB / 0.5759 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006469/0.3988, allocations: 2.062 MB / 0.5779 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.4019, allocations: 1.01 MB / 0.5789 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.4121, allocations: 5.385 MB / 0.5842 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005542/0.4177, allocations: 2.888 MB / 0.587 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.4213, allocations: 1.779 MB / 0.5887 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004575/0.4259, allocations: 2.64 MB / 0.5913 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.4272, allocations: 368 kB / 0.5917 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.4305, allocations: 1.447 MB / 0.5931 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003078/0.4336, allocations: 2.248 MB / 0.5953 GB, free: 416 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005048/0.4387, allocations: 2.556 MB / 0.5978 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.4508, allocations: 8.222 MB / 0.6058 GB, free: 5.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4508, allocations: 0 / 0.6058 GB, free: 5.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4508, allocations: 0 / 0.6058 GB, free: 5.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002933/0.4511, allocations: 0 / 0.6058 GB, free: 5.582 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.01705/0.4681, allocations: 5.95 MB / 0.6116 GB, free: 15.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4682, allocations: 15.97 kB / 0.6116 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002277/0.4704, allocations: 0.7868 MB / 0.6124 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08611/0.5565, allocations: 7.254 MB / 0.6195 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0094/0.5659, allocations: 3.521 MB / 0.6229 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.5662, allocations: 259.6 kB / 0.6232 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.5676, allocations: 351.7 kB / 0.6235 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02646/0.594, allocations: 12.28 MB / 0.6355 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/0.5943, allocations: 55.58 kB / 0.6355 GB, free: 6.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.5956, allocations: 163.8 kB / 0.6357 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004432/0.6001, allocations: 2.381 MB / 0.638 GB, free: 3.625 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/0.6243, allocations: 10.7 MB / 0.6485 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07088/0.6951, allocations: 48.54 MB / 0.6959 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01555/0.7107, allocations: 5.183 MB / 0.7009 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/0.7151, allocations: 2.85 MB / 0.7037 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02188/0.7369, allocations: 11.86 MB / 0.7153 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/0.737, allocations: 63.81 kB / 0.7154 GB, free: 2.883 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.881e-06/0.737, allocations: 0 / 0.7154 GB, free: 2.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.4066/1.144, allocations: 38.47 MB / 0.7529 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/1.144, allocations: 211.8 kB / 0.7531 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005321/1.149, allocations: 4.386 MB / 0.7574 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004949/1.149, allocations: 65.7 kB / 0.7575 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/1.151, allocations: 3.561 MB / 0.761 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.152, allocations: 0.99 MB / 0.7619 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/1.154, allocations: 1.374 MB / 0.7633 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/1.154, allocations: 305.1 kB / 0.7636 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/1.157, allocations: 3.125 MB / 0.7666 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005337/1.163, allocations: 7.033 MB / 0.7735 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009828/1.173, allocations: 10.96 MB / 0.7842 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/1.173, allocations: 44 kB / 0.7842 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02134/1.194, allocations: 12.66 MB / 0.7966 GB, free: 107 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/1.194, allocations: 67.98 kB / 0.7966 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.194, allocations: 144.2 kB / 0.7968 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008273/1.202, allocations: 3.231 MB / 0.7999 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/1.207, allocations: 1.54 MB / 0.8014 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/1.228, allocations: 16.5 MB / 0.8176 GB, free: 85.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00571/1.233, allocations: 439.4 kB / 0.818 GB, free: 84.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.235, allocations: 411.7 kB / 0.8184 GB, free: 84.55 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.003598/1.238, allocations: 2.345 MB / 0.8207 GB, free: 82.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008106/1.239, allocations: 424.3 kB / 0.8211 GB, free: 81.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.252, allocations: 7.483 MB / 0.8284 GB, free: 74.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/1.252, allocations: 31.98 kB / 0.8284 GB, free: 74.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/1.252, allocations: 8 kB / 0.8284 GB, free: 74.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-05/1.252, allocations: 11.97 kB / 0.8284 GB, free: 74.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02655/1.279, allocations: 14.96 MB / 0.843 GB, free: 59.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/1.279, allocations: 0 / 0.843 GB, free: 59.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.281, allocations: 379.5 kB / 0.8434 GB, free: 58.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007695/1.288, allocations: 2.923 MB / 0.8462 GB, free: 55.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003747/1.289, allocations: 55.59 kB / 0.8463 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/1.306, allocations: 14.71 MB / 0.8607 GB, free: 41.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.306, allocations: 4.875 kB / 0.8607 GB, free: 41.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/1.325, allocations: 11.48 MB / 0.8719 GB, free: 29.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.326, allocations: 393 kB / 0.8723 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/1.328, allocations: 36.09 kB / 0.8723 GB, free: 29.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002861/1.331, allocations: 191.7 kB / 0.8725 GB, free: 28.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007562/1.331, allocations: 161.7 kB / 0.8726 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003775/1.332, allocations: 60 kB / 0.8727 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005273/1.337, allocations: 2.748 MB / 0.8754 GB, free: 25.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.337, allocations: 0 / 0.8754 GB, free: 25.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00694/1.344, allocations: 1.296 MB / 0.8766 GB, free: 24.62 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.01917/1.363, allocations: 12.15 MB / 0.8885 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.374, allocations: 7.512 MB / 0.8958 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.374, allocations: 4 kB / 0.8958 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00447/1.379, allocations: 2.89 MB / 0.8987 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.383, allocations: 0.5225 MB / 0.8992 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1274/1.51, allocations: 60.75 MB / 0.9585 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007872/1.518, allocations: 3.658 MB / 0.9621 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006614/1.525, allocations: 2.172 MB / 0.9642 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004725/1.529, allocations: 2.218 MB / 0.9664 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of SimCode: time 1.382e-06/1.529, allocations: 4 kB / 0.9664 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.428/1.957, allocations: 100.8 MB / 1.065 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.54/32.5, allocations: 17.86 kB / 1.065 GB, free: 145.3 MB / 0.6387 GB " [Timeout remaining time 627] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 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.mat","/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: 36.26869977195747]