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.0008971/0.0008971, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009087/0.0009087, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.9837/0.9837, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2734/0.2734, allocations: 32.81 MB / 294.6 MB, free: 1.207 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 1.383e-06/1.383e-06, allocations: 0 / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.935e-05, allocations: 5.578 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.009586/0.009606, allocations: 12.69 MB / 336 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006905/0.01651, allocations: 4.271 MB / 340.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000713/0.01722, allocations: 83.69 kB / 340.3 MB, free: 8.559 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.01924, allocations: 2.063 MB / 342.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.02142, allocations: 1.983 MB / 344.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/0.02217, allocations: 0.5962 MB / 345 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.02486, allocations: 4.424 MB / 349.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.02665, allocations: 2.733 MB / 352.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.02818, allocations: 2.264 MB / 354.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.02974, allocations: 2.069 MB / 356.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.03002, allocations: 304 kB / 356.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009794/0.031, allocations: 0.9985 MB / 357.7 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.03205, allocations: 1.967 MB / 359.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007921/0.03284, allocations: 1.211 MB / 360.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.03574, allocations: 4.634 MB / 365.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.03574, allocations: 0 / 365.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03574, allocations: 4 kB / 365.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.936e-05/0.03579, allocations: 0 / 365.6 MB, free: 15.18 MB / 346.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.00399/0.03978, allocations: 4.565 MB / 370.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.03981, allocations: 8.031 kB / 370.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.04341, allocations: 1.487 MB / 371.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.04499, allocations: 1.643 MB / 373.3 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.0451, allocations: 230.2 kB / 373.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004216/0.04552, allocations: 316.1 kB / 373.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004847/0.05037, allocations: 5.229 MB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-05/0.05044, allocations: 39.62 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.0507, allocations: 143.8 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002016/0.05272, allocations: 2.41 MB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/0.0568, allocations: 2.957 MB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/0.07773, allocations: 29.92 MB / 414.5 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.0815, allocations: 2.205 MB / 416.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.08205, allocations: 437.4 kB / 417.1 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004885/0.08693, allocations: 4.055 MB / 421.2 MB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.08697, allocations: 55.81 kB / 421.2 MB, free: 5.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=198): time 2.976e-06/0.08697, allocations: 0 / 421.2 MB, free: 5.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=204): time 0.0117/0.09867, allocations: 5.743 MB / 427 MB, free: 15.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.09871, allocations: 68.72 kB / 427 MB, free: 15.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.1005, allocations: 2.653 MB / 429.7 MB, free: 13.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/0.1005, allocations: 57.62 kB / 429.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.1018, allocations: 3.204 MB / 433 MB, free: 9.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.1022, allocations: 0.7828 MB / 433.7 MB, free: 9.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008693/0.1031, allocations: 1.089 MB / 434.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.1031, allocations: 309.1 kB / 435.1 MB, free: 7.668 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.1043, allocations: 0.7734 MB / 435.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/0.107, allocations: 4.012 MB / 439.9 MB, free: 1.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/0.1105, allocations: 5.266 MB / 445.2 MB, free: 10.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/0.1106, allocations: 32 kB / 445.2 MB, free: 10.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004256/0.1148, allocations: 4.064 MB / 449.3 MB, free: 6.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.1149, allocations: 59.94 kB / 449.3 MB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/0.115, allocations: 116 kB / 449.5 MB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008332/0.1159, allocations: 375.8 kB / 449.8 MB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.118, allocations: 1.302 MB / 451.1 MB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.1198, allocations: 1.916 MB / 453 MB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.1213, allocations: 224 kB / 453.3 MB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/0.1216, allocations: 296 kB / 453.5 MB, free: 1.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * 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 (717): * Single equations (assignments): 710 * 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 {(2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.1226, allocations: 0.5796 MB / 454.1 MB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.1228, allocations: 187.8 kB / 454.3 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1559/0.2787, allocations: 1.316 MB / 455.6 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.172e-05/0.2788, allocations: 44.17 kB / 455.7 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.2788, allocations: 2.094 kB / 455.7 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/0.2789, allocations: 7.953 kB / 455.7 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008537/0.2874, allocations: 4.662 MB / 460.3 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.2874, allocations: 3.938 kB / 460.3 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/0.2883, allocations: 250.9 kB / 460.6 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009061/0.2892, allocations: 364.4 kB / 460.9 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/0.2893, allocations: 36.27 kB / 461 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.2907, allocations: 1.682 MB / 462.7 MB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.2907, allocations: 6.938 kB / 462.7 MB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.2928, allocations: 1.724 MB / 464.4 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.2932, allocations: 253 kB / 464.6 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.2934, allocations: 32.53 kB / 464.7 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.2939, allocations: 33.22 kB / 464.7 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.2941, allocations: 110.8 kB / 464.8 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.2942, allocations: 41.7 kB / 464.9 MB, free: 108 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008239/0.295, allocations: 0.9361 MB / 465.8 MB, free: 107.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.295, allocations: 0 / 465.8 MB, free: 107.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002717/0.2977, allocations: 1.06 MB / 466.9 MB, free: 107.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (152): * Single equations (assignments): 145 * 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 {(2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003169/0.298, allocations: 158.1 kB / 467 MB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.3006, allocations: 2.481 MB / 469.5 MB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001276/0.3007, allocations: 89.31 kB / 469.6 MB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.3014, allocations: 0.6289 MB / 470.2 MB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3026, allocations: 0.6207 MB / 470.8 MB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008346/0.311, allocations: 7.931 MB / 478.8 MB, free: 103.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009823/0.312, allocations: 1.301 MB / 480.1 MB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009664/0.3129, allocations: 452.9 kB / 480.5 MB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/0.3136, allocations: 478.8 kB / 481 MB, free: 101.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3136, allocations: 2.188 kB / 481 MB, free: 101.8 MB / 426.7 MB Notification: Performance of Templates: time 0.03648/0.3501, allocations: 29.37 MB / 0.4984 GB, free: 74.61 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.033479906152934]