Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.001835/0.001835, allocations: 111.1 kB / 20.44 MB, free: 1.348 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.001529/0.001529, allocations: 210.5 kB / 23.72 MB, free: 4.527 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2381/0.2381, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] 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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00211/0.00211, allocations: 59.91 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 65.47 MB / 0.5575 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01321/0.3451, allocations: 10.45 MB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008793/0.3539, allocations: 4.183 MB / 0.5717 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.3552, allocations: 83.56 kB / 0.5718 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005155/0.3603, allocations: 2.694 MB / 0.5745 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.3658, allocations: 2.074 MB / 0.5765 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.3684, allocations: 1.006 MB / 0.5775 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007329/0.3758, allocations: 5.376 MB / 0.5827 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003774/0.3795, allocations: 2.876 MB / 0.5855 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.3825, allocations: 1.776 MB / 0.5873 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/0.3864, allocations: 2.515 MB / 0.5897 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008407/0.3873, allocations: 368 kB / 0.5901 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.3898, allocations: 1.299 MB / 0.5913 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002277/0.3921, allocations: 2.24 MB / 0.5935 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002347/0.3945, allocations: 1.833 MB / 0.5953 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008983/0.4034, allocations: 8.074 MB / 0.6032 GB, free: 8.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4034, allocations: 0 / 0.6032 GB, free: 8.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4034, allocations: 0 / 0.6032 GB, free: 8.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001487/0.4036, allocations: 0 / 0.6032 GB, free: 8.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01219/0.4158, allocations: 5.801 MB / 0.6089 GB, free: 2.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4158, allocations: 8.031 kB / 0.6089 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.4326, allocations: 2.63 MB / 0.6114 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009001/0.4416, allocations: 3.099 MB / 0.6145 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/0.4419, allocations: 258.8 kB / 0.6147 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.4431, allocations: 351.9 kB / 0.615 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.4654, allocations: 12.46 MB / 0.6272 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001475/0.4656, allocations: 59.52 kB / 0.6273 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004604/0.466, allocations: 163.8 kB / 0.6274 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004039/0.4701, allocations: 2.373 MB / 0.6297 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.492, allocations: 10.82 MB / 0.6403 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06162/0.5536, allocations: 45.35 MB / 0.6846 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.5693, allocations: 5.34 MB / 0.6898 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004374/0.5736, allocations: 3.01 MB / 0.6927 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02148/0.5951, allocations: 11.69 MB / 0.7042 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.5952, allocations: 59.88 kB / 0.7042 GB, free: 14.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 5.49e-06/0.5952, allocations: 0 / 0.7042 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.3989/0.9941, allocations: 36.15 MB / 0.7395 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.9942, allocations: 205.7 kB / 0.7397 GB, free: 159 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.9995, allocations: 4.051 MB / 0.7437 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006147/1, allocations: 68.77 kB / 0.7437 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.002, allocations: 3.534 MB / 0.7472 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/1.003, allocations: 1.033 MB / 0.7482 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001776/1.005, allocations: 1.431 MB / 0.7496 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.245e-05/1.005, allocations: 301.9 kB / 0.7499 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00453/1.009, allocations: 3.284 MB / 0.7531 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00625/1.016, allocations: 7.25 MB / 0.7602 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/1.027, allocations: 11.22 MB / 0.7711 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.027, allocations: 40 kB / 0.7712 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02216/1.049, allocations: 13.2 MB / 0.7841 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.66e-05/1.049, allocations: 64 kB / 0.7841 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.049, allocations: 136.9 kB / 0.7843 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008728/1.058, allocations: 3.396 MB / 0.7876 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004818/1.063, allocations: 1.575 MB / 0.7891 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/1.083, allocations: 16.88 MB / 0.8056 GB, free: 97.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/1.089, allocations: 427.5 kB / 0.806 GB, free: 96.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008811/1.089, allocations: 415.5 kB / 0.8064 GB, free: 96.47 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * Array equations: 3 * 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,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0043/1.094, allocations: 2.345 MB / 0.8087 GB, free: 94.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.095, allocations: 373.5 kB / 0.809 GB, free: 93.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.109, allocations: 7.933 MB / 0.8168 GB, free: 85.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.671e-05/1.109, allocations: 28 kB / 0.8168 GB, free: 85.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/1.109, allocations: 15.94 kB / 0.8168 GB, free: 85.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.547e-05/1.109, allocations: 11.95 kB / 0.8168 GB, free: 85.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02467/1.134, allocations: 13.86 MB / 0.8304 GB, free: 71.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.134, allocations: 4 kB / 0.8304 GB, free: 71.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/1.135, allocations: 383.4 kB / 0.8307 GB, free: 71.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008561/1.144, allocations: 3.165 MB / 0.8338 GB, free: 68.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003362/1.144, allocations: 40 kB / 0.8339 GB, free: 68.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/1.163, allocations: 15.51 MB / 0.849 GB, free: 52.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.163, allocations: 4 kB / 0.849 GB, free: 52.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/1.181, allocations: 12.07 MB / 0.8608 GB, free: 40.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.182, allocations: 337.3 kB / 0.8611 GB, free: 40.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/1.183, allocations: 48 kB / 0.8612 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/1.185, allocations: 187.7 kB / 0.8614 GB, free: 40.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/1.185, allocations: 166 kB / 0.8615 GB, free: 39.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.186, allocations: 71.73 kB / 0.8616 GB, free: 39.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003067/1.189, allocations: 2.346 MB / 0.8639 GB, free: 37.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.189, allocations: 0 / 0.8639 GB, free: 37.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005307/1.194, allocations: 1.336 MB / 0.8652 GB, free: 36.12 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (197): * Single equations (assignments): 193 * Array equations: 3 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004749/1.195, allocations: 182.6 kB / 0.8654 GB, free: 35.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009979/1.205, allocations: 7.68 MB / 0.8729 GB, free: 28.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.205, allocations: 11.94 kB / 0.8729 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004422/1.209, allocations: 3.056 MB / 0.8759 GB, free: 25.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.212, allocations: 439.7 kB / 0.8763 GB, free: 24.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.229, allocations: 12.07 MB / 0.8881 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00329/1.232, allocations: 3.142 MB / 0.8911 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004477/1.236, allocations: 2.127 MB / 0.8932 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008412/1.237, allocations: 267.4 kB / 0.8935 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/1.237, allocations: 0 / 0.8935 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of Templates: time 0.1112/1.349, allocations: 58.98 MB / 0.9511 GB, free: 12.6 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.133176099509]