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.001355/0.001355, allocations: 69.34 kB / 19.93 MB, free: 1.766 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.001482/0.001482, allocations: 167.5 kB / 23.22 MB, free: 4.863 MB / 14.72 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 1.492/1.492, allocations: 158.6 MB / 185 MB, free: 6.379 MB / 174.1 MB " [Timeout remaining time 178] 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.2275/0.2275, allocations: 32.38 MB / 269.6 MB, free: 4.645 MB / 254.1 MB " [Timeout remaining time 179] 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.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",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.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.484e-05, allocations: 2.281 kB / 407.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01392/0.01396, allocations: 10.33 MB / 417.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.02402, allocations: 3.859 MB / 421.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.02666, allocations: 67.75 kB / 421.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.0299, allocations: 1.214 MB / 422.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.03517, allocations: 1.867 MB / 424.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.03691, allocations: 0.6038 MB / 425.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00653/0.04344, allocations: 4.568 MB / 429.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.0466, allocations: 2.187 MB / 432.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.04972, allocations: 1.882 MB / 433.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003738/0.05346, allocations: 2.073 MB / 436 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005571/0.05401, allocations: 224 kB / 436.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.05697, allocations: 1.263 MB / 437.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.05887, allocations: 1.714 MB / 439.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.06045, allocations: 1 MB / 440.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.07093, allocations: 6.291 MB / 446.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.07094, allocations: 0 / 446.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.07094, allocations: 0 / 446.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000265/0.07121, allocations: 4 kB / 446.5 MB, free: 11.69 MB / 382.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.01087/0.08208, allocations: 4.231 MB / 450.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.08213, allocations: 8.031 kB / 450.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/0.1039, allocations: 5.758 MB / 456.5 MB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006411/0.1103, allocations: 2.069 MB / 458.6 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.1106, allocations: 176.7 kB / 458.7 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/0.1121, allocations: 316.5 kB / 459.1 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/0.1343, allocations: 10.73 MB / 469.8 MB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.1344, allocations: 31.7 kB / 469.8 MB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004126/0.1348, allocations: 115.8 kB / 469.9 MB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00443/0.1392, allocations: 2.459 MB / 472.4 MB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2588/0.398, allocations: 10.16 MB / 482.6 MB, free: 62.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0518/0.4499, allocations: 33.34 MB / 0.5038 GB, free: 38.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009892/0.4597, allocations: 4.59 MB / 0.5083 GB, free: 33.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/0.4626, allocations: 2.189 MB / 0.5104 GB, free: 31.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.4636, allocations: 0.5453 MB / 0.5109 GB, free: 30.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.4636, allocations: 55.81 kB / 0.511 GB, free: 30.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=224): time 6.242e-06/0.4636, allocations: 0 / 0.511 GB, free: 30.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=231): time 0.03484/0.4985, allocations: 15.2 MB / 0.5258 GB, free: 15.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001085/0.4996, allocations: 1.484 MB / 0.5273 GB, free: 14.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.5033, allocations: 3.032 MB / 0.5303 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006268/0.5039, allocations: 53.7 kB / 0.5303 GB, free: 11.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.5057, allocations: 2.771 MB / 0.533 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.5069, allocations: 0.8805 MB / 0.5339 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/0.5084, allocations: 1.107 MB / 0.535 GB, free: 6.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.5085, allocations: 301.1 kB / 0.5352 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/0.5117, allocations: 2.853 MB / 0.538 GB, free: 3.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006342/0.5181, allocations: 5.858 MB / 0.5438 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/0.5335, allocations: 9.359 MB / 0.5529 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/0.5337, allocations: 32 kB / 0.5529 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.1119/0.6456, allocations: 39.12 MB / 0.5911 GB, free: 9.754 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.6457, allocations: 52 kB / 0.5912 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08339/0.7291, allocations: 27.61 MB / 0.6181 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09369/0.8228, allocations: 28.37 MB / 0.6459 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009054/0.8319, allocations: 1.318 MB / 0.6471 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3981/1.23, allocations: 28.41 MB / 0.6749 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006443/1.236, allocations: 0.5944 MB / 0.6755 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.238, allocations: 319 kB / 0.6758 GB, free: 175.1 MB / 0.5137 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.004504/1.242, allocations: 2.029 MB / 0.6777 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009169/1.243, allocations: 276.8 kB / 0.678 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009243/1.252, allocations: 5.097 MB / 0.683 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006756/1.259, allocations: 4.392 MB / 0.6873 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.259, allocations: 0.7188 kB / 0.6873 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.259, allocations: 13.95 kB / 0.6873 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/1.279, allocations: 11.59 MB / 0.6986 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.279, allocations: 8 kB / 0.6986 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.281, allocations: 464.4 kB / 0.6991 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002722/1.284, allocations: 0.934 MB / 0.7 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/1.284, allocations: 50.48 kB / 0.7 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005447/1.29, allocations: 5.558 MB / 0.7055 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008392/1.29, allocations: 1.414 MB / 0.7068 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009952/1.3, allocations: 7.719 MB / 0.7144 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.301, allocations: 282.2 kB / 0.7146 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/1.302, allocations: 47.98 kB / 0.7147 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.304, allocations: 248.8 kB / 0.7149 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/1.304, allocations: 152.8 kB / 0.7151 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/1.304, allocations: 67.98 kB / 0.7151 GB, free: 149 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002419/1.307, allocations: 1.756 MB / 0.7168 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/1.307, allocations: 0 / 0.7168 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005165/1.312, allocations: 1.254 MB / 0.7181 GB, free: 146 MB / 0.5137 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.0005857/1.312, allocations: 202.8 kB / 0.7183 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.323, allocations: 7.036 MB / 0.7251 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.323, allocations: 0 / 0.7251 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002958/1.326, allocations: 2.299 MB / 0.7274 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.328, allocations: 302.2 kB / 0.7277 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/1.343, allocations: 10.01 MB / 0.7374 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00272/1.345, allocations: 2.626 MB / 0.74 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003676/1.349, allocations: 2.043 MB / 0.742 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007751/1.35, allocations: 215.7 kB / 0.7422 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.834e-06/1.35, allocations: 0 / 0.7422 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.07995/1.43, allocations: 47.09 MB / 0.7882 GB, free: 74.07 MB / 0.5137 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.099534306675196]