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.001352/0.001352, allocations: 69.88 kB / 21.24 MB, free: 0.5547 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.001493/0.001493, allocations: 163.2 kB / 24.5 MB, free: 3.711 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.444/1.444, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.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.1992/0.1992, allocations: 32.8 MB / 294.1 MB, free: 32 kB / 270.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.002083/0.002083, allocations: 67.89 kB / 440.6 MB, free: 9.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3117, allocations: 65.44 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01203/0.3238, allocations: 10.27 MB / 0.5042 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008862/0.3326, allocations: 3.865 MB / 0.508 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.3348, allocations: 68.09 kB / 0.508 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.3375, allocations: 1.161 MB / 0.5092 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.3413, allocations: 1.784 MB / 0.5109 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.3426, allocations: 0.5642 MB / 0.5114 GB, free: 20.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004628/0.3472, allocations: 4.025 MB / 0.5154 GB, free: 19.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.3496, allocations: 1.679 MB / 0.517 GB, free: 18.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.3516, allocations: 1.169 MB / 0.5182 GB, free: 18.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.3545, allocations: 1.792 MB / 0.5199 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006917/0.3552, allocations: 218.1 kB / 0.5201 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.3577, allocations: 1.182 MB / 0.5213 GB, free: 17.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.3598, allocations: 1.604 MB / 0.5228 GB, free: 16.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.3624, allocations: 1.302 MB / 0.5241 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009641/0.3721, allocations: 6.23 MB / 0.5302 GB, free: 13.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3721, allocations: 0.6094 kB / 0.5302 GB, free: 13.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3721, allocations: 0 / 0.5302 GB, free: 13.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002729/0.3723, allocations: 0 / 0.5302 GB, free: 13.72 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.01177/0.3841, allocations: 4.123 MB / 0.5342 GB, free: 10.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3842, allocations: 9.625 kB / 0.5342 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0198/0.4039, allocations: 6.22 MB / 0.5403 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008037/0.412, allocations: 2.13 MB / 0.5424 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.4122, allocations: 180.3 kB / 0.5426 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.4138, allocations: 318.3 kB / 0.5429 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/0.4387, allocations: 10.73 MB / 0.5533 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.4388, allocations: 27.77 kB / 0.5534 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005491/0.4393, allocations: 115.8 kB / 0.5535 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006261/0.4456, allocations: 2.463 MB / 0.5559 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03465/0.4802, allocations: 10.17 MB / 0.5658 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06396/0.5442, allocations: 33.13 MB / 0.5982 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.5565, allocations: 4.604 MB / 0.6027 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003446/0.56, allocations: 2.184 MB / 0.6048 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.5612, allocations: 0.5519 MB / 0.6053 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5612, allocations: 48.56 kB / 0.6054 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 7.103e-06/0.5612, allocations: 0 / 0.6054 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.04093/0.6022, allocations: 15.05 MB / 0.6201 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001702/0.6039, allocations: 1.48 MB / 0.6215 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005381/0.6092, allocations: 2.833 MB / 0.6243 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004677/0.6097, allocations: 53.69 kB / 0.6243 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002748/0.6124, allocations: 2.811 MB / 0.6271 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001439/0.6139, allocations: 0.8836 MB / 0.6279 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00266/0.6165, allocations: 1.116 MB / 0.629 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6167, allocations: 301.1 kB / 0.6293 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004574/0.6213, allocations: 2.638 MB / 0.6319 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007575/0.6288, allocations: 5.632 MB / 0.6374 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.6409, allocations: 8.941 MB / 0.6461 GB, free: 8.668 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.641, allocations: 28 kB / 0.6462 GB, free: 8.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07021/0.7112, allocations: 17.14 MB / 0.6629 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.7114, allocations: 54.19 kB / 0.6629 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04969/0.7611, allocations: 10.61 MB / 0.6733 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05188/0.8129, allocations: 8.639 MB / 0.6817 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/0.8179, allocations: 1.318 MB / 0.683 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03405/0.852, allocations: 17.28 MB / 0.6999 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/0.8566, allocations: 423.5 kB / 0.7003 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/0.8577, allocations: 324 kB / 0.7006 GB, free: 0.5742 MB / 0.5919 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.243/1.101, allocations: 2.017 MB / 0.7026 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000722/1.101, allocations: 276.5 kB / 0.7029 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008985/1.11, allocations: 5.104 MB / 0.7078 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006247/1.117, allocations: 4.391 MB / 0.7121 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.117, allocations: 7.625 kB / 0.7121 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.117, allocations: 10.41 kB / 0.7121 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.134, allocations: 11.52 MB / 0.7234 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.134, allocations: 6.656 kB / 0.7234 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.136, allocations: 468.3 kB / 0.7239 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/1.139, allocations: 0.9386 MB / 0.7248 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/1.139, allocations: 47.19 kB / 0.7248 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/1.145, allocations: 5.549 MB / 0.7302 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007758/1.146, allocations: 1.424 MB / 0.7316 GB, free: 158.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.157, allocations: 7.72 MB / 0.7392 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007943/1.158, allocations: 254.4 kB / 0.7394 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/1.158, allocations: 41.2 kB / 0.7394 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.16, allocations: 197 kB / 0.7396 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/1.16, allocations: 148.5 kB / 0.7398 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/1.16, allocations: 68.77 kB / 0.7398 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002611/1.163, allocations: 1.605 MB / 0.7414 GB, free: 155.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/1.163, allocations: 6.453 kB / 0.7414 GB, free: 155.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005044/1.168, allocations: 1.089 MB / 0.7425 GB, free: 155 MB / 0.5919 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.0004299/1.168, allocations: 178.5 kB / 0.7426 GB, free: 154.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009412/1.178, allocations: 6.227 MB / 0.7487 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.178, allocations: 0 / 0.7487 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003508/1.181, allocations: 2.301 MB / 0.751 GB, free: 152 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.184, allocations: 296.6 kB / 0.7513 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.198, allocations: 10.06 MB / 0.7611 GB, free: 143.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/1.201, allocations: 2.612 MB / 0.7636 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003703/1.205, allocations: 2.048 MB / 0.7656 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/1.206, allocations: 200.5 kB / 0.7658 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/1.206, allocations: 0 / 0.7658 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.05791/1.264, allocations: 39.74 MB / 0.8046 GB, free: 99.67 MB / 0.5919 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/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.042833045939915]