Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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.001441/0.001441, 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.001806/0.001806, 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.505/1.505, 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.2343/0.2343, allocations: 44.9 MB / 355.1 MB, free: 12.35 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.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",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.001992/0.001992, allocations: 71.89 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1421, allocations: 65.42 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01558/0.1577, allocations: 13.51 MB / 0.565 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00952/0.1672, allocations: 4.233 MB / 0.5691 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.1697, allocations: 79.75 kB / 0.5692 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004169/0.1739, allocations: 1.997 MB / 0.5711 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00507/0.179, allocations: 1.926 MB / 0.573 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1805, allocations: 0.5575 MB / 0.5735 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006241/0.1868, allocations: 4.052 MB / 0.5775 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00402/0.1908, allocations: 2.468 MB / 0.5799 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.1935, allocations: 1.471 MB / 0.5813 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003509/0.197, allocations: 2.204 MB / 0.5835 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000998/0.198, allocations: 304 kB / 0.5838 GB, free: 9.191 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.2004, allocations: 1.038 MB / 0.5848 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002455/0.2029, allocations: 1.897 MB / 0.5867 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.2061, allocations: 2.24 MB / 0.5888 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3152/0.5213, allocations: 7.321 MB / 0.596 GB, free: 13.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.5213, allocations: 1.75 kB / 0.596 GB, free: 13.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5213, allocations: 0 / 0.596 GB, free: 13.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003721/0.5217, allocations: 0 / 0.596 GB, free: 13.77 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01741/0.5391, allocations: 5.012 MB / 0.6009 GB, free: 11.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.5392, allocations: 13.09 kB / 0.6009 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003124/0.5423, allocations: 0.8183 MB / 0.6017 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.5552, allocations: 3.177 MB / 0.6048 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00725/0.5625, allocations: 2.408 MB / 0.6072 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.5628, allocations: 241.3 kB / 0.6074 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.5646, allocations: 308.2 kB / 0.6077 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/0.5873, allocations: 12.09 MB / 0.6195 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.5874, allocations: 32.7 kB / 0.6195 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006666/0.5881, allocations: 144.2 kB / 0.6197 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004859/0.5929, allocations: 2.836 MB / 0.6224 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/0.6139, allocations: 11.35 MB / 0.6335 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07298/0.6869, allocations: 41.11 MB / 0.6737 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/0.6999, allocations: 5.83 MB / 0.6793 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004585/0.7045, allocations: 2.757 MB / 0.682 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/0.7066, allocations: 1.89 MB / 0.6839 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.7067, allocations: 56.56 kB / 0.6839 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 5.56e-06/0.7067, allocations: 0 / 0.6839 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05769/0.7644, allocations: 20.18 MB / 0.7037 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.7644, allocations: 77.41 kB / 0.7037 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005234/0.7697, allocations: 3.036 MB / 0.7067 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007509/0.7704, allocations: 61.7 kB / 0.7067 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002748/0.7732, allocations: 3.113 MB / 0.7098 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/0.7749, allocations: 1.063 MB / 0.7108 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002262/0.7772, allocations: 1.203 MB / 0.712 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7773, allocations: 301.1 kB / 0.7123 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004913/0.7822, allocations: 2.85 MB / 0.7151 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00844/0.7907, allocations: 6.018 MB / 0.7209 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/0.8052, allocations: 9.662 MB / 0.7304 GB, free: 9.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/0.8053, allocations: 34.81 kB / 0.7304 GB, free: 9.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02218/0.8275, allocations: 10.02 MB / 0.7402 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.8276, allocations: 56.88 kB / 0.7403 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/0.8278, allocations: 112 kB / 0.7404 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/0.8319, allocations: 1.359 MB / 0.7417 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005627/0.8375, allocations: 1.365 MB / 0.743 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.8496, allocations: 7.821 MB / 0.7507 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005374/0.855, allocations: 363.7 kB / 0.751 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/0.8567, allocations: 342.4 kB / 0.7513 GB, free: 3.969 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006047/0.8628, allocations: 2.296 MB / 0.7536 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008503/0.8636, allocations: 317.8 kB / 0.7539 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.8772, allocations: 6.608 MB / 0.7603 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.974e-05/0.8773, allocations: 51.98 kB / 0.7604 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.8773, allocations: 4 kB / 0.7604 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-05/0.8774, allocations: 15.89 kB / 0.7604 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02802/0.9054, allocations: 13.88 MB / 0.774 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/0.9054, allocations: 12.91 kB / 0.774 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/0.9079, allocations: 451.3 kB / 0.7744 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003796/0.9117, allocations: 1.219 MB / 0.7756 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006031/0.9123, allocations: 51.98 kB / 0.7756 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.923, allocations: 7.02 MB / 0.7825 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/0.923, allocations: 11.94 kB / 0.7825 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/0.9416, allocations: 9.868 MB / 0.7921 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.9428, allocations: 371 kB / 0.7925 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/0.9439, allocations: 48 kB / 0.7925 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.9461, allocations: 191.7 kB / 0.7927 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006956/0.9468, allocations: 169.5 kB / 0.7929 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/0.9471, allocations: 78.27 kB / 0.793 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003813/0.9509, allocations: 1.871 MB / 0.7948 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.9509, allocations: 0 / 0.7948 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006945/0.9578, allocations: 1.105 MB / 0.7959 GB, free: 5.859 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01915/0.977, allocations: 10.53 MB / 0.8062 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01237/0.9893, allocations: 6.679 MB / 0.8127 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.9893, allocations: 0 / 0.8127 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005034/0.9944, allocations: 2.657 MB / 0.8153 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.9971, allocations: 413.9 kB / 0.8157 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3732/1.37, allocations: 48.96 MB / 0.8635 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004564/1.375, allocations: 3.58 MB / 0.867 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005087/1.38, allocations: 2.206 MB / 0.8691 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00394/1.384, allocations: 2.066 MB / 0.8712 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.503e-06/1.384, allocations: 0 / 0.8712 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/1.499, allocations: 70.55 MB / 0.94 GB, free: 134.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.46/24.96, allocations: 18.28 kB / 0.9401 GB, free: 134.8 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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: 28.317100376822054]