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.001032/0.001032, 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.005813/0.005813, 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.8712/0.8712, 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.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.263/0.263, allocations: 32.8 MB / 294.2 MB, free: 1.203 MB / 266.7 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: 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.0.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.0.0_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.098e-06/4.098e-06, allocations: 3.984 kB / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/3.132e-05, allocations: 6.281 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1927/0.1928, allocations: 11.73 MB / 452.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004803/0.1976, allocations: 4.032 MB / 456.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.1981, allocations: 79.22 kB / 456.7 MB, free: 37.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.1997, allocations: 2.009 MB / 458.7 MB, free: 36.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.2014, allocations: 2.001 MB / 460.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.2019, allocations: 0.595 MB / 461.3 MB, free: 35.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.2037, allocations: 4.427 MB / 465.7 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.205, allocations: 2.665 MB / 468.4 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.2061, allocations: 2.232 MB / 470.6 MB, free: 31.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.2073, allocations: 2.199 MB / 472.8 MB, free: 31.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.2076, allocations: 309.2 kB / 473.1 MB, free: 31.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/0.2084, allocations: 0.9804 MB / 474.1 MB, free: 31.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006909/0.2091, allocations: 1.967 MB / 476.1 MB, free: 30.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006215/0.2097, allocations: 1.209 MB / 477.3 MB, free: 29.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.214, allocations: 7.279 MB / 484.6 MB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.214, allocations: 0 / 484.6 MB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.214, allocations: 1.312 kB / 484.6 MB, free: 27.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.658e-05/0.2141, allocations: 0 / 484.6 MB, free: 27.16 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.005786/0.2199, allocations: 4.932 MB / 489.5 MB, free: 24.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.22, allocations: 9.156 kB / 489.5 MB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/0.2267, allocations: 3.214 MB / 492.7 MB, free: 23.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.2297, allocations: 2.14 MB / 494.9 MB, free: 22.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.2299, allocations: 241.1 kB / 495.1 MB, free: 22.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/0.2303, allocations: 301.4 kB / 495.4 MB, free: 22.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.2421, allocations: 12.1 MB / 0.4956 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.325e-05/0.2422, allocations: 31.06 kB / 0.4956 GB, free: 16.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/0.2425, allocations: 146.3 kB / 0.4958 GB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00254/0.245, allocations: 2.84 MB / 0.4985 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.2558, allocations: 11.33 MB / 0.5096 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03288/0.2887, allocations: 38.11 MB / 0.5468 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006488/0.2952, allocations: 5.017 MB / 0.5517 GB, free: 6.836 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.2975, allocations: 2.769 MB / 0.5544 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006726/0.2982, allocations: 0.5481 MB / 0.555 GB, free: 3.512 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.2982, allocations: 65.42 kB / 0.555 GB, free: 3.441 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 4.439e-06/0.2982, allocations: 0.5625 kB / 0.555 GB, free: 3.441 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.02799/0.3262, allocations: 20.49 MB / 0.575 GB, free: 14.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.3263, allocations: 77.41 kB / 0.5751 GB, free: 14.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/0.3292, allocations: 3.004 MB / 0.578 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.3293, allocations: 61.7 kB / 0.5781 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.3306, allocations: 3.115 MB / 0.5811 GB, free: 8.516 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005989/0.3312, allocations: 1.042 MB / 0.5822 GB, free: 7.465 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.3323, allocations: 1.192 MB / 0.5833 GB, free: 6.262 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.3324, allocations: 305.1 kB / 0.5836 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.335, allocations: 2.85 MB / 0.5864 GB, free: 3.105 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004014/0.339, allocations: 6.034 MB / 0.5923 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007617/0.3466, allocations: 9.673 MB / 0.6017 GB, free: 316 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.769e-05/0.3466, allocations: 32 kB / 0.6018 GB, free: 284 kB / 0.4948 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01042/0.3571, allocations: 10.02 MB / 0.6115 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.3571, allocations: 55.98 kB / 0.6116 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-05/0.3572, allocations: 108 kB / 0.6117 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.3591, allocations: 1.362 MB / 0.613 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.3618, allocations: 1.372 MB / 0.6144 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/0.3684, allocations: 7.615 MB / 0.6218 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.3706, allocations: 399.6 kB / 0.6222 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.3709, allocations: 345.8 kB / 0.6225 GB, free: 10.89 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.002921/0.3738, allocations: 2.295 MB / 0.6248 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.3742, allocations: 294 kB / 0.625 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/0.381, allocations: 6.609 MB / 0.6315 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/0.3811, allocations: 48 kB / 0.6315 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3811, allocations: 4 kB / 0.6315 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3811, allocations: 11.95 kB / 0.6316 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.228/0.6091, allocations: 12.32 MB / 0.6436 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.6091, allocations: 6.562 kB / 0.6436 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.6102, allocations: 451.7 kB / 0.644 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.6118, allocations: 1.213 MB / 0.6452 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.6119, allocations: 55.55 kB / 0.6453 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005154/0.6171, allocations: 6.815 MB / 0.6519 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.6171, allocations: 13.47 kB / 0.6519 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008609/0.6257, allocations: 9.826 MB / 0.6615 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/0.6263, allocations: 280.7 kB / 0.6618 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.6265, allocations: 48.03 kB / 0.6618 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009295/0.6275, allocations: 228.7 kB / 0.6621 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.6277, allocations: 178.6 kB / 0.6622 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.6279, allocations: 72.7 kB / 0.6623 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001895/0.6298, allocations: 1.721 MB / 0.664 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.6298, allocations: 1.906 kB / 0.664 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003282/0.6331, allocations: 1.164 MB / 0.6651 GB, free: 143.2 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.000424/0.6335, allocations: 208 kB / 0.6653 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006979/0.6405, allocations: 6.689 MB / 0.6718 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6405, allocations: 1.125 kB / 0.6718 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002705/0.6432, allocations: 2.655 MB / 0.6744 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.6445, allocations: 321.8 kB / 0.6747 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.6573, allocations: 11.99 MB / 0.6865 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/0.6595, allocations: 3.052 MB / 0.6894 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009946/0.6605, allocations: 281.6 kB / 0.6897 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/0.6605, allocations: 0 / 0.6897 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06236/0.7228, allocations: 84.8 MB / 0.7725 GB, free: 51.79 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/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: 7.77370529063046]