Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001323/0.001323, allocations: 114.4 kB / 17.12 MB, free: 5.891 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.001465/0.001465, allocations: 211.2 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3814/0.3814, allocations: 44.22 MB / 326.6 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003297/0.003297, allocations: 64.52 kB / 462.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3339, allocations: 61 MB / 0.511 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01327/0.3472, allocations: 14.29 MB / 0.5249 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.3589, allocations: 4.311 MB / 0.5291 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.3623, allocations: 83.69 kB / 0.5292 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004459/0.3667, allocations: 2.001 MB / 0.5312 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005357/0.3721, allocations: 1.965 MB / 0.5331 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.3735, allocations: 0.5615 MB / 0.5336 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005868/0.3794, allocations: 4.068 MB / 0.5376 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/0.3828, allocations: 2.487 MB / 0.54 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.3853, allocations: 1.503 MB / 0.5415 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.3886, allocations: 2.231 MB / 0.5437 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006996/0.3893, allocations: 304 kB / 0.544 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.3915, allocations: 1.041 MB / 0.545 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.3935, allocations: 1.932 MB / 0.5469 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.3962, allocations: 2.275 MB / 0.5491 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009804/0.406, allocations: 7.421 MB / 0.5563 GB, free: 300 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.406, allocations: 0 / 0.5563 GB, free: 300 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.406, allocations: 0 / 0.5563 GB, free: 300 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001975/0.4062, allocations: 0 / 0.5563 GB, free: 300 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01078/0.417, allocations: 5.059 MB / 0.5613 GB, free: 11.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.417, allocations: 15.89 kB / 0.5613 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001151/0.4182, allocations: 0.8197 MB / 0.5621 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.4297, allocations: 3.176 MB / 0.5652 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007527/0.4373, allocations: 2.669 MB / 0.5678 GB, free: 4.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.4375, allocations: 242.3 kB / 0.568 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007308/0.4383, allocations: 315.7 kB / 0.5683 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02161/0.4599, allocations: 12.1 MB / 0.5801 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.46, allocations: 31.7 kB / 0.5802 GB, free: 7.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004616/0.4604, allocations: 147.8 kB / 0.5803 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005258/0.4657, allocations: 2.832 MB / 0.5831 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02485/0.4905, allocations: 11.38 MB / 0.5942 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06898/0.5595, allocations: 41.03 MB / 0.6343 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/0.5721, allocations: 5.836 MB / 0.64 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004301/0.5764, allocations: 2.752 MB / 0.6426 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/0.5785, allocations: 1.884 MB / 0.6445 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.5785, allocations: 56.56 kB / 0.6445 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 5.912e-06/0.5785, allocations: 0 / 0.6445 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.3318/0.9103, allocations: 20.24 MB / 0.6643 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.9103, allocations: 76.59 kB / 0.6644 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/0.9145, allocations: 3.079 MB / 0.6674 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000498/0.915, allocations: 60.08 kB / 0.6674 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.9165, allocations: 3.139 MB / 0.6705 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/0.9176, allocations: 1.068 MB / 0.6716 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.9193, allocations: 1.206 MB / 0.6727 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.9193, allocations: 308.8 kB / 0.673 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/0.9228, allocations: 2.853 MB / 0.6758 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00479/0.9276, allocations: 6.061 MB / 0.6817 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008791/0.9364, allocations: 9.714 MB / 0.6912 GB, free: 91.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.437e-05/0.9365, allocations: 32 kB / 0.6912 GB, free: 91.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01521/0.9517, allocations: 10.07 MB / 0.7011 GB, free: 81.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.9518, allocations: 52 kB / 0.7011 GB, free: 81.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/0.9519, allocations: 112 kB / 0.7012 GB, free: 81.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003246/0.9551, allocations: 1.364 MB / 0.7026 GB, free: 79.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/0.9596, allocations: 1.38 MB / 0.7039 GB, free: 78.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008029/0.9676, allocations: 7.804 MB / 0.7115 GB, free: 70.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004778/0.9724, allocations: 367.7 kB / 0.7119 GB, free: 69.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009007/0.9733, allocations: 351.6 kB / 0.7122 GB, free: 69.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (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 (724): * Single equations (assignments): 717 * 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.00358/0.9769, allocations: 2.303 MB / 0.7145 GB, free: 67.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006852/0.9776, allocations: 329.7 kB / 0.7148 GB, free: 67.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009527/0.9871, allocations: 6.608 MB / 0.7212 GB, free: 60.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.99e-05/0.9872, allocations: 51.98 kB / 0.7213 GB, free: 60.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.9872, allocations: 7.938 kB / 0.7213 GB, free: 60.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.9872, allocations: 11.95 kB / 0.7213 GB, free: 60.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.008, allocations: 13.88 MB / 0.7349 GB, free: 46.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.008, allocations: 8 kB / 0.7349 GB, free: 46.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.01, allocations: 455.3 kB / 0.7353 GB, free: 45.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003096/1.013, allocations: 1.21 MB / 0.7365 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003974/1.013, allocations: 51.98 kB / 0.7365 GB, free: 44.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007345/1.021, allocations: 7.019 MB / 0.7434 GB, free: 37.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/1.021, allocations: 11.94 kB / 0.7434 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.034, allocations: 9.88 MB / 0.753 GB, free: 27.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/1.036, allocations: 0.8385 MB / 0.7539 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007123/1.037, allocations: 44 kB / 0.7539 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.039, allocations: 195.6 kB / 0.7541 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004894/1.039, allocations: 169.5 kB / 0.7543 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.039, allocations: 79.42 kB / 0.7543 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002467/1.042, allocations: 1.895 MB / 0.7562 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/1.042, allocations: 0 / 0.7562 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004791/1.046, allocations: 1.137 MB / 0.7573 GB, free: 22.98 MB / 0.4981 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.01281/1.059, allocations: 10.54 MB / 0.7676 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008775/1.068, allocations: 6.695 MB / 0.7741 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.068, allocations: 4.938 kB / 0.7741 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003349/1.071, allocations: 2.652 MB / 0.7767 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/1.074, allocations: 411.5 kB / 0.7771 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08378/1.158, allocations: 49.28 MB / 0.8252 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00496/1.163, allocations: 3.579 MB / 0.8287 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005201/1.168, allocations: 2.215 MB / 0.8309 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003398/1.171, allocations: 2.061 MB / 0.8329 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of SimCode: time 2.094e-06/1.171, allocations: 0 / 0.8329 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4269/1.598, allocations: 70.72 MB / 0.902 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.77/24.37, allocations: 6.094 kB / 0.902 GB, free: 212.4 MB / 0.6075 GB " [Timeout remaining time 635] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 27.643526337007643]