Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001273/0.001273, allocations: 111 kB / 21.19 MB, free: 0.6758 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.001456/0.001456, allocations: 215.2 kB / 24.48 MB, free: 3.98 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2227/0.2227, allocations: 46.95 MB / 361.6 MB, free: 4.047 MB / 286.1 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.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01395/0.321, allocations: 10.26 MB / 0.5718 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009927/0.3309, allocations: 3.86 MB / 0.5756 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.3327, allocations: 67.75 kB / 0.5757 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.3353, allocations: 1.171 MB / 0.5768 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.3396, allocations: 1.779 MB / 0.5786 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.341, allocations: 0.5652 MB / 0.5791 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005327/0.3463, allocations: 4.035 MB / 0.583 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.3484, allocations: 1.676 MB / 0.5847 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.3502, allocations: 1.183 MB / 0.5858 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/0.3529, allocations: 1.845 MB / 0.5876 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005451/0.3534, allocations: 224 kB / 0.5879 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.3557, allocations: 1.201 MB / 0.589 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.3573, allocations: 1.601 MB / 0.5906 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.3588, allocations: 1.303 MB / 0.5919 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.3661, allocations: 6.224 MB / 0.5979 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3661, allocations: 4 kB / 0.5979 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3661, allocations: 0 / 0.5979 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001516/0.3663, allocations: 0 / 0.5979 GB, free: 15.02 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.007783/0.3741, allocations: 4.107 MB / 0.602 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3741, allocations: 15.95 kB / 0.602 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02069/0.3948, allocations: 6.159 MB / 0.608 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00719/0.402, allocations: 2.137 MB / 0.6101 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.4022, allocations: 180.8 kB / 0.6102 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.4034, allocations: 307.6 kB / 0.6105 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/0.4219, allocations: 10.72 MB / 0.621 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.198e-05/0.422, allocations: 23.77 kB / 0.621 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/0.4223, allocations: 115.8 kB / 0.6211 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00409/0.4264, allocations: 2.467 MB / 0.6235 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.4463, allocations: 10.12 MB / 0.6334 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05283/0.4991, allocations: 32.96 MB / 0.6656 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.5108, allocations: 4.473 MB / 0.67 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.5139, allocations: 2.181 MB / 0.6721 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.5152, allocations: 0.5441 MB / 0.6727 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.5152, allocations: 52.56 kB / 0.6727 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 4.708e-06/0.5152, allocations: 0 / 0.6727 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.03551/0.5507, allocations: 14.77 MB / 0.6871 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001366/0.5521, allocations: 1.484 MB / 0.6886 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003665/0.5558, allocations: 2.829 MB / 0.6913 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003763/0.5561, allocations: 65.69 kB / 0.6914 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002081/0.5582, allocations: 2.799 MB / 0.6941 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.5593, allocations: 0.8875 MB / 0.695 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/0.561, allocations: 1.112 MB / 0.6961 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5611, allocations: 301.1 kB / 0.6964 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/0.5651, allocations: 2.634 MB / 0.6989 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006391/0.5715, allocations: 5.647 MB / 0.7045 GB, free: 14.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.583, allocations: 8.937 MB / 0.7132 GB, free: 4.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.391e-05/0.583, allocations: 32 kB / 0.7132 GB, free: 4.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06239/0.6454, allocations: 17.13 MB / 0.73 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.154e-05/0.6455, allocations: 52 kB / 0.73 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2966/0.9421, allocations: 10.6 MB / 0.7404 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04343/0.9856, allocations: 8.641 MB / 0.7488 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/0.9899, allocations: 1.32 MB / 0.7501 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/1.014, allocations: 17.28 MB / 0.767 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.018, allocations: 424.4 kB / 0.7674 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006997/1.019, allocations: 320 kB / 0.7677 GB, free: 131.2 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.002515/1.021, allocations: 2.024 MB / 0.7697 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/1.022, allocations: 274.9 kB / 0.7699 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007063/1.029, allocations: 5.102 MB / 0.7749 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005956/1.035, allocations: 4.397 MB / 0.7792 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.035, allocations: 3.406 kB / 0.7792 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.035, allocations: 7.969 kB / 0.7792 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.051, allocations: 11.48 MB / 0.7904 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.051, allocations: 11.94 kB / 0.7904 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.053, allocations: 463.2 kB / 0.7909 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/1.056, allocations: 0.9344 MB / 0.7918 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/1.056, allocations: 47.81 kB / 0.7918 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005161/1.061, allocations: 5.559 MB / 0.7973 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006677/1.062, allocations: 1.422 MB / 0.7986 GB, free: 99.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009019/1.071, allocations: 7.714 MB / 0.8062 GB, free: 91.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007668/1.072, allocations: 257.2 kB / 0.8064 GB, free: 91.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/1.072, allocations: 40 kB / 0.8065 GB, free: 91.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.073, allocations: 195.7 kB / 0.8066 GB, free: 91.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/1.074, allocations: 154.2 kB / 0.8068 GB, free: 91.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.074, allocations: 71.92 kB / 0.8069 GB, free: 91.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001705/1.076, allocations: 1.603 MB / 0.8084 GB, free: 89.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.076, allocations: 0 / 0.8084 GB, free: 89.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003733/1.079, allocations: 1.081 MB / 0.8095 GB, free: 88.41 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.0003742/1.08, allocations: 186.9 kB / 0.8097 GB, free: 88.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008194/1.088, allocations: 6.239 MB / 0.8158 GB, free: 82.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.088, allocations: 0.5469 kB / 0.8158 GB, free: 82.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002784/1.091, allocations: 2.291 MB / 0.818 GB, free: 79.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.092, allocations: 300.4 kB / 0.8183 GB, free: 79.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.104, allocations: 10.05 MB / 0.8281 GB, free: 69.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/1.106, allocations: 2.621 MB / 0.8307 GB, free: 66.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003411/1.11, allocations: 2.039 MB / 0.8326 GB, free: 64.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/1.11, allocations: 203.4 kB / 0.8328 GB, free: 64.35 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/1.11, allocations: 0 / 0.8328 GB, free: 64.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.05808/1.168, allocations: 46.03 MB / 0.8778 GB, free: 18.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.993883845003438]