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.001466/0.001466, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.001623/0.001623, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.599/1.599, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 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.3395/0.3395, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 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 1.473e-06/1.473e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.787e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01431/0.01434, allocations: 10.28 MB / 387.6 MB, free: 8.617 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008879/0.02322, allocations: 3.877 MB / 391.4 MB, free: 4.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.02484, allocations: 67.75 kB / 391.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.02783, allocations: 1.234 MB / 392.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.03255, allocations: 1.832 MB / 394.6 MB, free: 1.586 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.03413, allocations: 0.6001 MB / 395.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.04043, allocations: 4.709 MB / 399.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00379/0.04422, allocations: 2.259 MB / 402.1 MB, free: 9.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004754/0.04897, allocations: 1.859 MB / 404 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004229/0.0532, allocations: 2.073 MB / 406.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000916/0.05412, allocations: 224 kB / 406.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.05789, allocations: 1.244 MB / 407.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002368/0.06026, allocations: 1.69 MB / 409.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.06183, allocations: 0.973 MB / 410.2 MB, free: 1.906 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008617/0.07044, allocations: 6.236 MB / 416.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.07045, allocations: 0 / 416.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.07045, allocations: 0 / 416.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.0706, allocations: 0 / 416.4 MB, free: 11.65 MB / 394.7 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.009186/0.07978, allocations: 4.185 MB / 420.6 MB, free: 7.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.07983, allocations: 8.031 kB / 420.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/0.1019, allocations: 6.819 MB / 427.4 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005797/0.1077, allocations: 2.03 MB / 429.5 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.1079, allocations: 176.8 kB / 429.7 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008869/0.1088, allocations: 316.5 kB / 430 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/0.1275, allocations: 10.72 MB / 440.7 MB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.188e-05/0.1275, allocations: 35.7 kB / 440.7 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/0.1279, allocations: 119.8 kB / 440.8 MB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004259/0.1322, allocations: 2.459 MB / 443.3 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2145/0.3467, allocations: 10.16 MB / 453.5 MB, free: 93.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04931/0.396, allocations: 33.39 MB / 486.8 MB, free: 73.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.4078, allocations: 4.591 MB / 491.4 MB, free: 72.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/0.4109, allocations: 2.186 MB / 493.6 MB, free: 71.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.412, allocations: 0.5659 MB / 494.2 MB, free: 71.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.412, allocations: 52.47 kB / 494.2 MB, free: 71.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 4.95e-06/0.412, allocations: 3.938 kB / 494.2 MB, free: 71.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.03478/0.4468, allocations: 15.22 MB / 0.4975 GB, free: 60.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001025/0.4478, allocations: 1.484 MB / 0.499 GB, free: 59.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.4514, allocations: 2.986 MB / 0.5019 GB, free: 56.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004625/0.4518, allocations: 57.06 kB / 0.5019 GB, free: 56.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.4533, allocations: 2.77 MB / 0.5047 GB, free: 54.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000964/0.4542, allocations: 0.8728 MB / 0.5055 GB, free: 53.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.4556, allocations: 1.111 MB / 0.5066 GB, free: 52.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.4557, allocations: 301.1 kB / 0.5069 GB, free: 52.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003131/0.4588, allocations: 2.852 MB / 0.5097 GB, free: 49.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/0.4628, allocations: 5.862 MB / 0.5154 GB, free: 42.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008177/0.471, allocations: 9.355 MB / 0.5245 GB, free: 31.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-05/0.471, allocations: 32 kB / 0.5246 GB, free: 31.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.08114/0.5522, allocations: 33.63 MB / 0.5574 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.5523, allocations: 48 kB / 0.5574 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07323/0.6255, allocations: 23.38 MB / 0.5803 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.269/0.8945, allocations: 30.59 MB / 0.6102 GB, free: 133.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/0.8991, allocations: 1.317 MB / 0.6114 GB, free: 133.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04141/0.9405, allocations: 27.21 MB / 0.638 GB, free: 125.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/0.946, allocations: 0.5482 MB / 0.6386 GB, free: 125.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/0.9471, allocations: 320.2 kB / 0.6389 GB, free: 125.3 MB / 458.7 MB 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.003443/0.9505, allocations: 2.022 MB / 0.6408 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000758/0.9513, allocations: 330 kB / 0.6411 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007943/0.9592, allocations: 5.1 MB / 0.6461 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006336/0.9656, allocations: 4.395 MB / 0.6504 GB, free: 121 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.9656, allocations: 0 / 0.6504 GB, free: 121 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.9656, allocations: 13.47 kB / 0.6504 GB, free: 121 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.9836, allocations: 11.63 MB / 0.6618 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.9836, allocations: 9 kB / 0.6618 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.9855, allocations: 455.2 kB / 0.6622 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002697/0.9882, allocations: 0.9464 MB / 0.6632 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/0.9884, allocations: 50.41 kB / 0.6632 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005224/0.9936, allocations: 5.565 MB / 0.6686 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007051/0.9943, allocations: 1.419 MB / 0.67 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009525/1.004, allocations: 7.761 MB / 0.6776 GB, free: 93.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008974/1.005, allocations: 281.7 kB / 0.6779 GB, free: 93.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/1.005, allocations: 42.33 kB / 0.6779 GB, free: 92.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.007, allocations: 242.7 kB / 0.6781 GB, free: 92.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/1.007, allocations: 156.8 kB / 0.6783 GB, free: 92.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.007, allocations: 66.64 kB / 0.6784 GB, free: 92.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002039/1.009, allocations: 1.724 MB / 0.68 GB, free: 90.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/1.009, allocations: 0 / 0.68 GB, free: 90.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004825/1.014, allocations: 1.227 MB / 0.6812 GB, free: 89.57 MB / 458.7 MB 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.0005179/1.015, allocations: 196.1 kB / 0.6814 GB, free: 89.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009959/1.025, allocations: 6.843 MB / 0.6881 GB, free: 82.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/1.025, allocations: 4 kB / 0.6881 GB, free: 82.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002972/1.028, allocations: 2.291 MB / 0.6904 GB, free: 80.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.03, allocations: 330.4 kB / 0.6907 GB, free: 79.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.044, allocations: 10.12 MB / 0.7006 GB, free: 69.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/1.047, allocations: 2.626 MB / 0.7031 GB, free: 67.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003629/1.05, allocations: 2.047 MB / 0.7051 GB, free: 64.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/1.051, allocations: 216.4 kB / 0.7053 GB, free: 64.78 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/1.051, allocations: 0 / 0.7053 GB, free: 64.78 MB / 458.7 MB Notification: Performance of Templates: time 0.06023/1.111, allocations: 47.03 MB / 0.7513 GB, free: 18.04 MB / 458.7 MB " [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.301896987948567]