Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001552/0.001552, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001372/0.001372, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9425/0.9425, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.125/0.125, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.336e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.007667/0.00769, allocations: 11.38 MB / 359.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006635/0.01433, allocations: 3.984 MB / 363 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/0.01523, allocations: 67.75 kB / 363.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.0168, allocations: 1.253 MB / 364.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.01917, allocations: 1.867 MB / 366.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.02002, allocations: 0.6117 MB / 366.8 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002932/0.02295, allocations: 4.566 MB / 371.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.02472, allocations: 2.267 MB / 373.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.0263, allocations: 1.882 MB / 375.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.02794, allocations: 2.081 MB / 377.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002584/0.02819, allocations: 228 kB / 377.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.02982, allocations: 1.259 MB / 379.1 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.03104, allocations: 1.722 MB / 380.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000737/0.03178, allocations: 1 MB / 381.8 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.0351, allocations: 4.253 MB / 386.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.03511, allocations: 0 / 386.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03511, allocations: 0 / 386.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.942e-05/0.03516, allocations: 0 / 386.1 MB, free: 2.871 MB / 314.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.00469/0.03985, allocations: 4.66 MB / 390.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.03988, allocations: 12.03 kB / 390.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.051, allocations: 6.242 MB / 397 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.05336, allocations: 1.849 MB / 398.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/0.05346, allocations: 176.8 kB / 399 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005127/0.05397, allocations: 304.5 kB / 399.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006685/0.06066, allocations: 5.727 MB / 405.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.0607, allocations: 23.81 kB / 405.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.06094, allocations: 115.8 kB / 405.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002453/0.0634, allocations: 2.463 MB / 407.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006943/0.07034, allocations: 3.819 MB / 411.5 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02715/0.09749, allocations: 35.31 MB / 446.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00533/0.1028, allocations: 2.911 MB / 449.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009363/0.1038, allocations: 0.6458 MB / 450.3 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006425/0.1044, allocations: 0.5245 MB / 450.9 MB, free: 324 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1044, allocations: 59.38 kB / 450.9 MB, free: 256 kB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 4.419e-06/0.1044, allocations: 4 kB / 450.9 MB, free: 252 kB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.17/0.2744, allocations: 8.865 MB / 459.8 MB, free: 97.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009705/0.2754, allocations: 1.963 MB / 461.8 MB, free: 95.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.2786, allocations: 2.707 MB / 464.5 MB, free: 95.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003024/0.2789, allocations: 57.64 kB / 464.5 MB, free: 95.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.2802, allocations: 2.915 MB / 467.4 MB, free: 93.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008153/0.281, allocations: 0.9323 MB / 468.4 MB, free: 93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.2824, allocations: 1.166 MB / 469.5 MB, free: 92.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.2824, allocations: 480.7 kB / 470 MB, free: 92.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.2841, allocations: 0.8313 MB / 470.8 MB, free: 92.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002963/0.287, allocations: 5.285 MB / 476.1 MB, free: 86.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005469/0.2925, allocations: 6.747 MB / 482.9 MB, free: 78.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.351e-05/0.2926, allocations: 32 kB / 482.9 MB, free: 78.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.05772/0.3503, allocations: 34.72 MB / 0.5055 GB, free: 44.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.3504, allocations: 48 kB / 0.5055 GB, free: 44.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03376/0.3841, allocations: 24.4 MB / 0.5294 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05817/0.4423, allocations: 34.19 MB / 0.5628 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.4458, allocations: 1.318 MB / 0.564 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/0.4632, allocations: 11.24 MB / 0.575 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/0.4669, allocations: 0.5969 MB / 0.5756 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008487/0.4677, allocations: 326.2 kB / 0.5759 GB, free: 4.125 MB / 410.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.001669/0.4694, allocations: 0.581 MB / 0.5765 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005491/0.47, allocations: 327.9 kB / 0.5768 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.474, allocations: 2.625 MB / 0.5794 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002937/0.4769, allocations: 1.831 MB / 0.5811 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4769, allocations: 4 kB / 0.5811 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.477, allocations: 7.969 kB / 0.5812 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.4892, allocations: 7.926 MB / 0.5889 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.4892, allocations: 8 kB / 0.5889 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.4904, allocations: 456.1 kB / 0.5893 GB, free: 6.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.4918, allocations: 0.6147 MB / 0.5899 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.492, allocations: 51.88 kB / 0.59 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1628/0.6547, allocations: 4.399 MB / 0.5943 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007614/0.6555, allocations: 1.902 MB / 0.5961 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/0.6605, allocations: 3.233 MB / 0.5993 GB, free: 130.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007352/0.6612, allocations: 284.9 kB / 0.5996 GB, free: 130.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.6614, allocations: 48.08 kB / 0.5996 GB, free: 130.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009586/0.6624, allocations: 244 kB / 0.5999 GB, free: 130.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.6627, allocations: 146.5 kB / 0.6 GB, free: 130.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.6628, allocations: 70.62 kB / 0.6001 GB, free: 130.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001378/0.6642, allocations: 1.162 MB / 0.6012 GB, free: 130.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6642, allocations: 0 / 0.6012 GB, free: 130.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005335/0.6695, allocations: 1.254 MB / 0.6024 GB, free: 130.2 MB / 426.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.0006277/0.6701, allocations: 205.4 kB / 0.6026 GB, free: 130.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008854/0.679, allocations: 4.24 MB / 0.6068 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.679, allocations: 0 / 0.6068 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.6807, allocations: 1.326 MB / 0.608 GB, free: 129.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.6824, allocations: 317.3 kB / 0.6084 GB, free: 129.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.6928, allocations: 7.89 MB / 0.6161 GB, free: 125.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.6939, allocations: 1.17 MB / 0.6172 GB, free: 124.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002483/0.6964, allocations: 1.653 MB / 0.6188 GB, free: 123.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005784/0.697, allocations: 213.1 kB / 0.619 GB, free: 123.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.435e-06/0.697, allocations: 0 / 0.619 GB, free: 123.6 MB / 426.7 MB Notification: Performance of Templates: time 0.05909/0.7561, allocations: 49.48 MB / 0.6673 GB, free: 76.5 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.632069553248584]