Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008206/0.0008206, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003769/0.003769, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.853/0.853, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.258e-05, allocations: 4.531 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1891/0.1891, allocations: 11.73 MB / 455.2 MB, free: 37.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.1939, allocations: 4.027 MB / 459.2 MB, free: 35.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008562/0.1947, allocations: 81.84 kB / 459.3 MB, free: 35.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.1964, allocations: 2.005 MB / 461.3 MB, free: 34.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.1985, allocations: 2 MB / 463.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.1992, allocations: 0.5969 MB / 463.9 MB, free: 33.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.2014, allocations: 4.423 MB / 468.3 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.2029, allocations: 2.677 MB / 471 MB, free: 30.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.2043, allocations: 2.226 MB / 473.2 MB, free: 29.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.2057, allocations: 2.2 MB / 475.4 MB, free: 28.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.206, allocations: 309.6 kB / 475.7 MB, free: 28.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009547/0.2069, allocations: 0.9849 MB / 476.7 MB, free: 28.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007931/0.2077, allocations: 1.967 MB / 478.7 MB, free: 27.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006858/0.2084, allocations: 1.213 MB / 479.9 MB, free: 27.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.2139, allocations: 7.273 MB / 487.2 MB, free: 24.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2139, allocations: 0 / 487.2 MB, free: 24.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2139, allocations: 0 / 487.2 MB, free: 24.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001437/0.2141, allocations: 2.281 kB / 487.2 MB, free: 24.57 MB / 410.7 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.007859/0.2219, allocations: 4.931 MB / 492.1 MB, free: 21.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.222, allocations: 13.42 kB / 492.1 MB, free: 21.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006615/0.2286, allocations: 3.211 MB / 495.3 MB, free: 21.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.2316, allocations: 2.135 MB / 497.4 MB, free: 20.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.2318, allocations: 234.7 kB / 497.7 MB, free: 20.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004593/0.2322, allocations: 307 kB / 498 MB, free: 19.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.2457, allocations: 12.1 MB / 0.4981 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.395e-05/0.2458, allocations: 31.73 kB / 0.4981 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.2461, allocations: 147.8 kB / 0.4983 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002359/0.2484, allocations: 2.835 MB / 0.5011 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.2594, allocations: 11.33 MB / 0.5121 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03604/0.2954, allocations: 38.11 MB / 0.5493 GB, free: 7.945 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006733/0.3021, allocations: 5.018 MB / 0.5542 GB, free: 2.922 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.3045, allocations: 2.777 MB / 0.557 GB, free: 144 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/0.3051, allocations: 0.5481 MB / 0.5575 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3051, allocations: 56.56 kB / 0.5575 GB, free: 15.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 4.608e-06/0.3052, allocations: 0 / 0.5575 GB, free: 15.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.02872/0.3339, allocations: 20.49 MB / 0.5775 GB, free: 10.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3339, allocations: 81.41 kB / 0.5776 GB, free: 10.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.3369, allocations: 3.008 MB / 0.5806 GB, free: 7.812 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.337, allocations: 61.7 kB / 0.5806 GB, free: 7.746 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.3386, allocations: 3.108 MB / 0.5837 GB, free: 4.605 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007014/0.3393, allocations: 1.046 MB / 0.5847 GB, free: 3.551 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.3405, allocations: 1.192 MB / 0.5858 GB, free: 2.348 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.3405, allocations: 301.1 kB / 0.5861 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.3434, allocations: 2.854 MB / 0.5889 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004349/0.3477, allocations: 6.03 MB / 0.5948 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007751/0.3555, allocations: 9.673 MB / 0.6043 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.123e-05/0.3555, allocations: 32 kB / 0.6043 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01053/0.366, allocations: 10.02 MB / 0.6141 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.3661, allocations: 52 kB / 0.6141 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003308/0.3664, allocations: 108 kB / 0.6142 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.3684, allocations: 1.362 MB / 0.6156 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/0.371, allocations: 1.372 MB / 0.6169 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006762/0.3778, allocations: 7.612 MB / 0.6243 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.3805, allocations: 395.6 kB / 0.6247 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003984/0.3809, allocations: 348 kB / 0.625 GB, free: 6.992 MB / 0.5261 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 (722): * Single equations (assignments): 715 * 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.003361/0.3842, allocations: 2.302 MB / 0.6273 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.3846, allocations: 298 kB / 0.6276 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.191/0.5756, allocations: 6.6 MB / 0.634 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/0.5757, allocations: 50.75 kB / 0.6341 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.5757, allocations: 7.875 kB / 0.6341 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/0.5757, allocations: 13.08 kB / 0.6341 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.588, allocations: 12.31 MB / 0.6461 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.588, allocations: 6.531 kB / 0.6461 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/0.589, allocations: 449.8 kB / 0.6465 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.5906, allocations: 1.218 MB / 0.6477 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.5908, allocations: 51.06 kB / 0.6478 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004728/0.5955, allocations: 6.825 MB / 0.6544 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5955, allocations: 9.969 kB / 0.6545 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008391/0.6039, allocations: 9.826 MB / 0.664 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.6044, allocations: 281.4 kB / 0.6643 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.6046, allocations: 48.53 kB / 0.6644 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/0.6055, allocations: 227.7 kB / 0.6646 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.6057, allocations: 172.1 kB / 0.6647 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.6059, allocations: 70.22 kB / 0.6648 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001874/0.6077, allocations: 1.721 MB / 0.6665 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6077, allocations: 2.75 kB / 0.6665 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003448/0.6112, allocations: 1.164 MB / 0.6676 GB, free: 139.6 MB / 0.5261 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.0004108/0.6116, allocations: 205 kB / 0.6678 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006819/0.6184, allocations: 6.695 MB / 0.6744 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.6184, allocations: 1.188 kB / 0.6744 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/0.6208, allocations: 2.657 MB / 0.677 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.622, allocations: 327 kB / 0.6773 GB, free: 136 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.6324, allocations: 12 MB / 0.689 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/0.6344, allocations: 3.043 MB / 0.692 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000781/0.6352, allocations: 283.4 kB / 0.6922 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/0.6352, allocations: 0 / 0.6922 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.04999/0.6852, allocations: 84.79 MB / 0.775 GB, free: 45.51 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.053262752480805]