Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.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.001748/0.001748, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002202/0.002202, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2341/0.2341, allocations: 44.94 MB / 358.8 MB, free: 6.039 MB / 286.1 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") [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.002072/0.002072, allocations: 67.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3753, allocations: 65.47 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01337/0.3887, allocations: 10.26 MB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008667/0.3974, allocations: 3.863 MB / 0.5713 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.3988, allocations: 67.75 kB / 0.5713 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.4013, allocations: 1.164 MB / 0.5725 GB, free: 8.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.4051, allocations: 1.779 MB / 0.5742 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.4064, allocations: 0.5574 MB / 0.5747 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005048/0.4115, allocations: 4.035 MB / 0.5787 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.4142, allocations: 1.672 MB / 0.5803 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.4165, allocations: 1.183 MB / 0.5815 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002938/0.4195, allocations: 1.791 MB / 0.5832 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005009/0.42, allocations: 220 kB / 0.5834 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.4227, allocations: 1.174 MB / 0.5846 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.4244, allocations: 1.604 MB / 0.5861 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.4263, allocations: 1.311 MB / 0.5874 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009371/0.4356, allocations: 6.22 MB / 0.5935 GB, free: 2.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.4356, allocations: 4 kB / 0.5935 GB, free: 2.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.4357, allocations: 0 / 0.5935 GB, free: 2.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002049/0.4359, allocations: 0 / 0.5935 GB, free: 2.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.008812/0.4447, allocations: 4.111 MB / 0.5975 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4447, allocations: 12.02 kB / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02099/0.4657, allocations: 6.167 MB / 0.6035 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007079/0.4728, allocations: 2.134 MB / 0.6056 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.473, allocations: 176.8 kB / 0.6058 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.474, allocations: 307.6 kB / 0.6061 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01952/0.4935, allocations: 10.72 MB / 0.6166 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.254e-05/0.4936, allocations: 31.69 kB / 0.6166 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004094/0.494, allocations: 115.8 kB / 0.6167 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004363/0.4984, allocations: 2.471 MB / 0.6191 GB, free: 7.609 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.5196, allocations: 10.13 MB / 0.629 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05492/0.5745, allocations: 32.95 MB / 0.6612 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.5866, allocations: 4.459 MB / 0.6655 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/0.5904, allocations: 2.183 MB / 0.6677 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.5918, allocations: 0.5441 MB / 0.6682 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.774e-05/0.5918, allocations: 56.5 kB / 0.6683 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 7.484e-06/0.5918, allocations: 0 / 0.6683 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.03934/0.6312, allocations: 14.78 MB / 0.6827 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00158/0.6327, allocations: 1.491 MB / 0.6841 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005143/0.6379, allocations: 2.836 MB / 0.6869 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004961/0.6384, allocations: 53.7 kB / 0.687 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002654/0.641, allocations: 2.803 MB / 0.6897 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/0.6424, allocations: 0.8875 MB / 0.6906 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002473/0.6448, allocations: 1.112 MB / 0.6917 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.645, allocations: 305.1 kB / 0.6919 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/0.6496, allocations: 2.634 MB / 0.6945 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007739/0.6573, allocations: 5.644 MB / 0.7 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/0.6711, allocations: 8.937 MB / 0.7088 GB, free: 7.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/0.6712, allocations: 32 kB / 0.7088 GB, free: 7.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06984/0.7411, allocations: 17.13 MB / 0.7255 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.7413, allocations: 52 kB / 0.7256 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3728/1.114, allocations: 10.6 MB / 0.7359 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04566/1.16, allocations: 8.643 MB / 0.7444 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004542/1.164, allocations: 1.312 MB / 0.7456 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02523/1.19, allocations: 17.3 MB / 0.7625 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/1.195, allocations: 415.6 kB / 0.7629 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/1.196, allocations: 320 kB / 0.7632 GB, free: 137.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.004474/1.201, allocations: 2.026 MB / 0.7652 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/1.201, allocations: 269.8 kB / 0.7655 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007112/1.208, allocations: 5.099 MB / 0.7704 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005968/1.214, allocations: 4.4 MB / 0.7747 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.214, allocations: 4 kB / 0.7747 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.214, allocations: 7.969 kB / 0.7748 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.231, allocations: 11.49 MB / 0.786 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.231, allocations: 8 kB / 0.786 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.233, allocations: 455.2 kB / 0.7864 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/1.235, allocations: 0.9452 MB / 0.7873 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/1.235, allocations: 57.33 kB / 0.7874 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/1.24, allocations: 5.555 MB / 0.7928 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006708/1.241, allocations: 1.421 MB / 0.7942 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00902/1.25, allocations: 7.72 MB / 0.8017 GB, free: 97.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/1.251, allocations: 251.5 kB / 0.802 GB, free: 97.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/1.251, allocations: 51.72 kB / 0.802 GB, free: 97.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.252, allocations: 195.7 kB / 0.8022 GB, free: 97.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/1.253, allocations: 140.9 kB / 0.8024 GB, free: 97.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.253, allocations: 71.97 kB / 0.8024 GB, free: 97.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001831/1.255, allocations: 1.604 MB / 0.804 GB, free: 95.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.255, allocations: 0 / 0.804 GB, free: 95.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004134/1.259, allocations: 1.088 MB / 0.8051 GB, free: 94.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004827/1.259, allocations: 190.3 kB / 0.8052 GB, free: 94.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009576/1.269, allocations: 6.223 MB / 0.8113 GB, free: 88.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/1.269, allocations: 0 / 0.8113 GB, free: 88.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/1.272, allocations: 2.303 MB / 0.8136 GB, free: 86.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.274, allocations: 298.3 kB / 0.8138 GB, free: 85.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.288, allocations: 10.04 MB / 0.8236 GB, free: 75.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.291, allocations: 2.621 MB / 0.8262 GB, free: 72.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003731/1.295, allocations: 2.054 MB / 0.8282 GB, free: 70.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/1.295, allocations: 199.3 kB / 0.8284 GB, free: 70.65 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/1.295, allocations: 0 / 0.8284 GB, free: 70.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.06077/1.356, allocations: 43.56 MB / 0.8709 GB, free: 27.38 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.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.46228489652276]