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.001819/0.001819, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002411/0.002411, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2635/0.2635, allocations: 46.93 MB / 360.8 MB, free: 4.406 MB / 286.1 MB " [Timeout remaining time 179] 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.002233/0.002233, allocations: 71.89 kB / 0.4967 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3753, allocations: 66.02 MB / 0.5611 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01463/0.3899, allocations: 11.84 MB / 0.5727 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009905/0.3998, allocations: 4.105 MB / 0.5767 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/0.4028, allocations: 67.75 kB / 0.5768 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.4056, allocations: 1.214 MB / 0.5779 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.4107, allocations: 1.767 MB / 0.5797 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.4123, allocations: 0.5574 MB / 0.5802 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006364/0.4186, allocations: 4.04 MB / 0.5842 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.421, allocations: 1.681 MB / 0.5858 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.4231, allocations: 1.179 MB / 0.587 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003031/0.4261, allocations: 1.849 MB / 0.5888 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005977/0.4267, allocations: 220 kB / 0.589 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.4295, allocations: 1.338 MB / 0.5903 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.4314, allocations: 1.604 MB / 0.5918 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.4336, allocations: 1.832 MB / 0.5936 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008989/0.4426, allocations: 6.199 MB / 0.5997 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4426, allocations: 4 kB / 0.5997 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4426, allocations: 0 / 0.5997 GB, free: 12.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001966/0.4428, allocations: 3.938 kB / 0.5997 GB, free: 12.78 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.009104/0.4519, allocations: 4.115 MB / 0.6037 GB, free: 8.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4519, allocations: 8.031 kB / 0.6037 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/0.4721, allocations: 6.155 MB / 0.6097 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007295/0.4794, allocations: 2.126 MB / 0.6118 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.4797, allocations: 180.7 kB / 0.612 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/0.4808, allocations: 307.7 kB / 0.6123 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.5015, allocations: 10.72 MB / 0.6227 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-05/0.5016, allocations: 31.77 kB / 0.6228 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/0.502, allocations: 111.8 kB / 0.6229 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004068/0.506, allocations: 2.463 MB / 0.6253 GB, free: 2.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/0.5282, allocations: 10.16 MB / 0.6352 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06474/0.593, allocations: 35.43 MB / 0.6698 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.6056, allocations: 4.473 MB / 0.6742 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004262/0.6098, allocations: 2.193 MB / 0.6763 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.6114, allocations: 0.5518 MB / 0.6768 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.866e-05/0.6115, allocations: 52.5 kB / 0.6769 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 7.244e-06/0.6115, allocations: 0 / 0.6769 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03819/0.6497, allocations: 14.79 MB / 0.6913 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001604/0.6513, allocations: 1.511 MB / 0.6928 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/0.6569, allocations: 2.795 MB / 0.6955 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005664/0.6575, allocations: 57.7 kB / 0.6956 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003008/0.6605, allocations: 2.788 MB / 0.6983 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.6619, allocations: 0.8914 MB / 0.6992 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003086/0.665, allocations: 1.108 MB / 0.7003 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6651, allocations: 317 kB / 0.7006 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004929/0.6701, allocations: 2.63 MB / 0.7031 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007852/0.6779, allocations: 5.644 MB / 0.7087 GB, free: 9.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/0.6916, allocations: 8.937 MB / 0.7174 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/0.6917, allocations: 32 kB / 0.7174 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.4213/1.113, allocations: 17.14 MB / 0.7342 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.113, allocations: 52.66 kB / 0.7342 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04203/1.155, allocations: 10.61 MB / 0.7446 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05859/1.214, allocations: 8.639 MB / 0.753 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/1.218, allocations: 1.316 MB / 0.7543 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/1.243, allocations: 17.61 MB / 0.7715 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004244/1.247, allocations: 419.6 kB / 0.7719 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006322/1.248, allocations: 323.9 kB / 0.7722 GB, free: 126.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.002891/1.25, allocations: 2.021 MB / 0.7742 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/1.251, allocations: 284.9 kB / 0.7744 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/1.258, allocations: 5.101 MB / 0.7794 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006028/1.264, allocations: 4.398 MB / 0.7837 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.264, allocations: 0 / 0.7837 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.264, allocations: 11.91 kB / 0.7837 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/1.282, allocations: 12.75 MB / 0.7962 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.282, allocations: 8 kB / 0.7962 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/1.284, allocations: 461.5 kB / 0.7966 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002418/1.286, allocations: 0.9385 MB / 0.7975 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/1.286, allocations: 51.97 kB / 0.7976 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/1.292, allocations: 5.635 MB / 0.8031 GB, free: 94.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008093/1.293, allocations: 1.446 MB / 0.8045 GB, free: 93.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009622/1.302, allocations: 7.731 MB / 0.812 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.303, allocations: 267.1 kB / 0.8123 GB, free: 85.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/1.304, allocations: 40 kB / 0.8123 GB, free: 85.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.305, allocations: 203.3 kB / 0.8125 GB, free: 84.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003693/1.305, allocations: 152.8 kB / 0.8127 GB, free: 84.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.305, allocations: 67.98 kB / 0.8127 GB, free: 84.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002376/1.308, allocations: 1.717 MB / 0.8144 GB, free: 83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.308, allocations: 1.969 kB / 0.8144 GB, free: 83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004174/1.312, allocations: 1.092 MB / 0.8155 GB, free: 81.92 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.0004124/1.312, allocations: 188.5 kB / 0.8157 GB, free: 81.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008457/1.321, allocations: 6.23 MB / 0.8218 GB, free: 75.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.321, allocations: 0 / 0.8218 GB, free: 75.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002835/1.324, allocations: 2.296 MB / 0.824 GB, free: 73.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.326, allocations: 396.7 kB / 0.8244 GB, free: 72.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.339, allocations: 10.04 MB / 0.8342 GB, free: 62.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002818/1.342, allocations: 3.167 MB / 0.8373 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003663/1.345, allocations: 2.064 MB / 0.8393 GB, free: 57.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/1.346, allocations: 211.4 kB / 0.8395 GB, free: 57.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/1.346, allocations: 0 / 0.8395 GB, free: 57.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.06737/1.413, allocations: 48.34 MB / 0.8867 GB, free: 8.988 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins/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: 7.78348208591342]