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.001642/0.001642, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.001815/0.001815, allocations: 215.5 kB / 23 MB, free: 5.004 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.532/1.532, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2425/0.2425, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.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.003549/0.003549, allocations: 67.91 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1519, allocations: 61.05 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0183/0.1702, allocations: 14.3 MB / 0.5301 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.1817, allocations: 4.327 MB / 0.5343 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.1848, allocations: 83.69 kB / 0.5344 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005348/0.1902, allocations: 2.016 MB / 0.5364 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006174/0.1963, allocations: 1.981 MB / 0.5383 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2807/0.477, allocations: 0.5552 MB / 0.5389 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007607/0.4846, allocations: 4.065 MB / 0.5428 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005976/0.4906, allocations: 2.458 MB / 0.5452 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.4957, allocations: 1.502 MB / 0.5467 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005733/0.5014, allocations: 2.223 MB / 0.5489 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002168/0.5036, allocations: 308.2 kB / 0.5492 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.5081, allocations: 1.045 MB / 0.5502 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004272/0.5124, allocations: 1.93 MB / 0.5521 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007144/0.5195, allocations: 2.281 MB / 0.5543 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01689/0.5364, allocations: 7.417 MB / 0.5616 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5364, allocations: 2.203 kB / 0.5616 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5364, allocations: 0 / 0.5616 GB, free: 5.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004387/0.5369, allocations: 0.6562 kB / 0.5616 GB, free: 5.223 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.02033/0.5572, allocations: 4.988 MB / 0.5664 GB, free: 2.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.692e-05/0.5573, allocations: 10.38 kB / 0.5664 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003954/0.5612, allocations: 0.8237 MB / 0.5672 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.5769, allocations: 3.174 MB / 0.5703 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.5898, allocations: 2.61 MB / 0.5729 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005504/0.5903, allocations: 244.1 kB / 0.5731 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/0.593, allocations: 310.5 kB / 0.5734 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/0.6277, allocations: 12.09 MB / 0.5852 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000289/0.6279, allocations: 30.16 kB / 0.5853 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/0.63, allocations: 147.3 kB / 0.5854 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005899/0.6359, allocations: 2.834 MB / 0.5882 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03125/0.6671, allocations: 11.39 MB / 0.5993 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09036/0.7575, allocations: 40.9 MB / 0.6392 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01359/0.7711, allocations: 4.915 MB / 0.644 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005143/0.7762, allocations: 2.766 MB / 0.6467 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/0.7778, allocations: 0.5551 MB / 0.6473 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.7779, allocations: 57.22 kB / 0.6473 GB, free: 8.516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 1.129e-05/0.7779, allocations: 112 / 0.6473 GB, free: 8.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.06764/0.8456, allocations: 20.03 MB / 0.6669 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.8457, allocations: 85.39 kB / 0.667 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008528/0.8542, allocations: 3.073 MB / 0.67 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009329/0.8551, allocations: 61.7 kB / 0.67 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003633/0.8588, allocations: 3.135 MB / 0.6731 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002282/0.8611, allocations: 1.07 MB / 0.6741 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004819/0.8659, allocations: 1.21 MB / 0.6753 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.866, allocations: 305.1 kB / 0.6756 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006088/0.8721, allocations: 2.854 MB / 0.6784 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009981/0.8821, allocations: 6.055 MB / 0.6843 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/0.8981, allocations: 9.703 MB / 0.6938 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/0.8982, allocations: 32 kB / 0.6938 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02526/0.9235, allocations: 10.07 MB / 0.7036 GB, free: 11.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.9237, allocations: 52 kB / 0.7037 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002416/0.9239, allocations: 120.1 kB / 0.7038 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004419/0.9283, allocations: 1.358 MB / 0.7051 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005968/0.9343, allocations: 1.388 MB / 0.7065 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.9481, allocations: 7.715 MB / 0.714 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005877/0.954, allocations: 363.7 kB / 0.7144 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/0.9558, allocations: 345.2 kB / 0.7147 GB, free: 196 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.007936/0.9638, allocations: 2.307 MB / 0.7169 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/0.9653, allocations: 325.8 kB / 0.7173 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/0.9837, allocations: 6.61 MB / 0.7237 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001199/0.9838, allocations: 47.98 kB / 0.7238 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.861e-05/0.9839, allocations: 4 kB / 0.7238 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-05/0.9839, allocations: 11.95 kB / 0.7238 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04094/1.025, allocations: 13.86 MB / 0.7373 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-05/1.025, allocations: 4 kB / 0.7373 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/1.028, allocations: 459.4 kB / 0.7377 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004047/1.032, allocations: 1.217 MB / 0.7389 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009968/1.033, allocations: 55.98 kB / 0.739 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/1.045, allocations: 6.908 MB / 0.7457 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-05/1.045, allocations: 11.94 kB / 0.7457 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/1.069, allocations: 9.879 MB / 0.7554 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003644/1.072, allocations: 0.7594 MB / 0.7561 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/1.074, allocations: 48 kB / 0.7562 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/1.077, allocations: 195.7 kB / 0.7564 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/1.078, allocations: 173.5 kB / 0.7565 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005995/1.079, allocations: 79.89 kB / 0.7566 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004918/1.084, allocations: 1.895 MB / 0.7585 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.084, allocations: 0 / 0.7585 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007922/1.092, allocations: 1.137 MB / 0.7596 GB, free: 1.766 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.2961/1.388, allocations: 10.52 MB / 0.7698 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01586/1.404, allocations: 6.705 MB / 0.7764 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.404, allocations: 1.906 kB / 0.7764 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006194/1.41, allocations: 2.649 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.004948/1.415, 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.1023/1.517, allocations: 49.42 MB / 0.8276 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008789/1.526, allocations: 3.58 MB / 0.8311 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006554/1.533, allocations: 2.209 MB / 0.8333 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005018/1.538, allocations: 2.073 MB / 0.8353 GB, free: 147.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.914e-06/1.538, allocations: 0 / 0.8353 GB, free: 147.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/1.671, allocations: 75.82 MB / 0.9094 GB, free: 72.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.11/26.78, allocations: 11.2 kB / 0.9094 GB, free: 72.04 MB / 0.5919 GB " [Timeout remaining time 633] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 30.293955575907603]