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.001514/0.001514, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001801/0.001801, allocations: 226.4 kB / 23.01 MB, free: 5.039 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.52/1.52, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.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.2297/0.2297, allocations: 44.24 MB / 330.3 MB, free: 9.504 MB / 270.1 MB " [Timeout remaining time 180] 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.003734/0.003734, allocations: 70.88 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1464, allocations: 61.04 MB / 0.5162 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01721/0.1636, allocations: 14.3 MB / 0.5301 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009704/0.1733, allocations: 4.335 MB / 0.5344 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.1753, allocations: 79.69 kB / 0.5344 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004322/0.1796, allocations: 2.02 MB / 0.5364 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.1849, allocations: 1.985 MB / 0.5383 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.237/0.4219, allocations: 0.5491 MB / 0.5389 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006254/0.4282, allocations: 4.069 MB / 0.5429 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004512/0.4327, allocations: 2.453 MB / 0.5452 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.436, allocations: 1.497 MB / 0.5467 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004548/0.4405, allocations: 2.229 MB / 0.5489 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.442, allocations: 309 kB / 0.5492 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.4454, allocations: 1.048 MB / 0.5502 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002863/0.4483, allocations: 1.929 MB / 0.5521 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00416/0.4524, allocations: 2.275 MB / 0.5543 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.4644, allocations: 7.415 MB / 0.5615 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.4644, allocations: 4.656 kB / 0.5616 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.4645, allocations: 0 / 0.5616 GB, free: 5.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003999/0.4649, allocations: 3.125 kB / 0.5616 GB, free: 5.211 MB / 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.01804/0.4829, allocations: 4.99 MB / 0.5664 GB, free: 2.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/0.483, allocations: 13.94 kB / 0.5664 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003313/0.4863, allocations: 0.8152 MB / 0.5672 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.4983, allocations: 3.185 MB / 0.5704 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007605/0.5059, allocations: 2.605 MB / 0.5729 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/0.5062, allocations: 238.7 kB / 0.5731 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/0.5079, allocations: 305.2 kB / 0.5734 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/0.5332, allocations: 12.1 MB / 0.5852 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.5334, allocations: 34.8 kB / 0.5853 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009568/0.5343, allocations: 144.9 kB / 0.5854 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005297/0.5396, allocations: 2.842 MB / 0.5882 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02491/0.5645, allocations: 11.37 MB / 0.5993 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07381/0.6383, allocations: 40.91 MB / 0.6392 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.6502, allocations: 4.917 MB / 0.644 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004585/0.6548, allocations: 2.77 MB / 0.6467 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/0.6562, allocations: 0.5559 MB / 0.6473 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.6563, allocations: 56.55 kB / 0.6473 GB, free: 8.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 7.123e-06/0.6563, allocations: 0 / 0.6473 GB, free: 8.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.05364/0.7099, allocations: 20.03 MB / 0.6669 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.71, allocations: 77.41 kB / 0.667 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004899/0.7149, allocations: 3.069 MB / 0.67 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005801/0.7155, allocations: 65.7 kB / 0.67 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002589/0.718, allocations: 3.131 MB / 0.6731 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/0.7197, allocations: 1.077 MB / 0.6741 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002896/0.7225, allocations: 1.206 MB / 0.6753 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7227, allocations: 305.1 kB / 0.6756 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005188/0.7279, allocations: 2.85 MB / 0.6784 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008776/0.7366, allocations: 6.061 MB / 0.6843 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/0.7512, allocations: 9.703 MB / 0.6938 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-05/0.7513, allocations: 32 kB / 0.6938 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0217/0.773, allocations: 10.07 MB / 0.7036 GB, free: 11.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.202e-05/0.7731, allocations: 55.94 kB / 0.7037 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/0.7733, allocations: 113.1 kB / 0.7038 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/0.7772, allocations: 1.366 MB / 0.7051 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005306/0.7825, allocations: 1.38 MB / 0.7065 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.7941, allocations: 7.705 MB / 0.714 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004838/0.7989, allocations: 363.7 kB / 0.7144 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/0.8, allocations: 350.1 kB / 0.7147 GB, free: 172 kB / 0.545 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.004777/0.8048, allocations: 2.301 MB / 0.7169 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/0.8055, allocations: 321.8 kB / 0.7172 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.8178, allocations: 6.618 MB / 0.7237 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.047e-05/0.8179, allocations: 51.36 kB / 0.7238 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.8179, allocations: 11.27 kB / 0.7238 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.039e-05/0.8179, allocations: 7.969 kB / 0.7238 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02907/0.847, allocations: 13.86 MB / 0.7373 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/0.847, allocations: 4 kB / 0.7373 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/0.8495, allocations: 459.3 kB / 0.7378 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00373/0.8532, allocations: 1.217 MB / 0.7389 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008467/0.854, allocations: 48 kB / 0.739 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.8644, allocations: 6.913 MB / 0.7457 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.8644, allocations: 8 kB / 0.7458 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/0.8822, allocations: 9.875 MB / 0.7554 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002863/0.8851, allocations: 0.7633 MB / 0.7561 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007851/0.8859, allocations: 47.98 kB / 0.7562 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/0.8878, allocations: 191.7 kB / 0.7564 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/0.8884, allocations: 173.5 kB / 0.7565 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/0.8887, allocations: 75.05 kB / 0.7566 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003757/0.8925, allocations: 1.907 MB / 0.7585 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8925, allocations: 0 / 0.7585 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006635/0.8991, allocations: 1.133 MB / 0.7596 GB, free: 1.746 MB / 0.5919 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.2478/1.147, allocations: 10.53 MB / 0.7699 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.158, allocations: 6.693 MB / 0.7764 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.158, allocations: 5.438 kB / 0.7764 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004229/1.162, allocations: 2.648 MB / 0.779 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/1.165, allocations: 413.7 kB / 0.7794 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07277/1.238, allocations: 49.41 MB / 0.8276 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005244/1.243, allocations: 3.583 MB / 0.8311 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00445/1.247, allocations: 2.208 MB / 0.8333 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003076/1.25, allocations: 2.061 MB / 0.8353 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/1.25, allocations: 0 / 0.8353 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/1.37, allocations: 75.83 MB / 0.9094 GB, free: 72.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.94/26.31, allocations: 15.12 kB / 0.9094 GB, free: 72.02 MB / 0.5919 GB " [Timeout remaining time 634] (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: 29.531072969999514]