Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.017/1.017, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.245/0.245, allocations: 34.87 MB / 296.3 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.247e-05, allocations: 2.312 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01329/0.01332, allocations: 11.32 MB / 390.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008401/0.02172, allocations: 3.995 MB / 394.1 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.02346, allocations: 71.69 kB / 394.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.02569, allocations: 1.249 MB / 395.4 MB, free: 1.402 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003636/0.02932, allocations: 1.84 MB / 397.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.03065, allocations: 0.6 MB / 397.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005581/0.03624, allocations: 4.722 MB / 402.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.03952, allocations: 2.259 MB / 404.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.04288, allocations: 1.867 MB / 406.7 MB, free: 6.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.04634, allocations: 2.069 MB / 408.8 MB, free: 3.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007961/0.04714, allocations: 224 kB / 409 MB, free: 3.777 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.04962, allocations: 1.252 MB / 410.2 MB, free: 2.523 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.05119, allocations: 1.69 MB / 411.9 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.05294, allocations: 0.9808 MB / 412.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005672/0.05861, allocations: 4.191 MB / 417.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.05861, allocations: 0 / 417.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05862, allocations: 0 / 417.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.967e-05/0.05871, allocations: 8 kB / 417.1 MB, free: 11.63 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.007536/0.06625, allocations: 4.614 MB / 421.7 MB, free: 6.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.06629, allocations: 8.031 kB / 421.7 MB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.08243, allocations: 6.71 MB / 428.4 MB, free: 224 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.08522, allocations: 1.882 MB / 430.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.08532, allocations: 176.8 kB / 430.5 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005544/0.08588, allocations: 300.5 kB / 430.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007705/0.09358, allocations: 5.723 MB / 436.5 MB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.09364, allocations: 31.7 kB / 436.5 MB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/0.09391, allocations: 111.8 kB / 436.6 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/0.09614, allocations: 2.459 MB / 439.1 MB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007119/0.1033, allocations: 3.815 MB / 442.9 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2017/0.3049, allocations: 35.29 MB / 478.2 MB, free: 64.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004986/0.3099, allocations: 2.915 MB / 481.1 MB, free: 64.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.3107, allocations: 0.6442 MB / 481.8 MB, free: 64.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.3113, allocations: 0.5191 MB / 482.3 MB, free: 63.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3113, allocations: 53.39 kB / 482.3 MB, free: 63.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 4.468e-06/0.3113, allocations: 0 / 482.3 MB, free: 63.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.01601/0.3274, allocations: 8.857 MB / 491.2 MB, free: 62.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006725/0.328, allocations: 1.968 MB / 493.2 MB, free: 60.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.331, allocations: 2.694 MB / 495.8 MB, free: 58.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.3312, allocations: 59.89 kB / 495.9 MB, free: 58.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.3328, allocations: 2.913 MB / 498.8 MB, free: 56.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007301/0.3335, allocations: 0.9241 MB / 499.7 MB, free: 56.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.3349, allocations: 1.174 MB / 0.4892 GB, free: 55.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.3349, allocations: 476.8 kB / 0.4896 GB, free: 55.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.3365, allocations: 0.8265 MB / 0.4904 GB, free: 54.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.3396, allocations: 5.283 MB / 0.4956 GB, free: 48.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004977/0.3446, allocations: 6.753 MB / 0.5022 GB, free: 42.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.223e-05/0.3446, allocations: 29.88 kB / 0.5022 GB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.04479/0.3894, allocations: 28.96 MB / 0.5305 GB, free: 22.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/0.3895, allocations: 52 kB / 0.5306 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03086/0.4203, allocations: 20.17 MB / 0.5502 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05812/0.4785, allocations: 29.21 MB / 0.5788 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/0.4817, allocations: 1.318 MB / 0.5801 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.4978, allocations: 10.02 MB / 0.5899 GB, free: 8.938 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/0.5013, allocations: 0.5501 MB / 0.5904 GB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003707/0.5017, allocations: 325.5 kB / 0.5907 GB, free: 8.074 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.00141/0.5031, allocations: 0.5732 MB / 0.5913 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.5035, allocations: 330.1 kB / 0.5916 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.5071, allocations: 2.622 MB / 0.5941 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003163/0.5102, allocations: 1.839 MB / 0.5959 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5102, allocations: 0 / 0.5959 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.5102, allocations: 11.97 kB / 0.5959 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1827/0.6929, allocations: 7.897 MB / 0.6037 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.6929, allocations: 8.031 kB / 0.6037 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.694, allocations: 458.3 kB / 0.6041 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.6953, allocations: 0.6145 MB / 0.6047 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.6954, allocations: 51.94 kB / 0.6047 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.6979, allocations: 4.398 MB / 0.609 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005422/0.6985, allocations: 1.906 MB / 0.6109 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/0.7028, allocations: 3.234 MB / 0.6141 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000609/0.7034, allocations: 276.1 kB / 0.6143 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.7036, allocations: 44.27 kB / 0.6144 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.7045, allocations: 240 kB / 0.6146 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.7047, allocations: 155.2 kB / 0.6147 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.7048, allocations: 67.89 kB / 0.6148 GB, free: 121.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.7059, allocations: 1.145 MB / 0.6159 GB, free: 121.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7059, allocations: 0 / 0.6159 GB, free: 121.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003724/0.7097, allocations: 1.227 MB / 0.6171 GB, free: 121.3 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.0004418/0.7101, allocations: 196.5 kB / 0.6173 GB, free: 121.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005137/0.7152, allocations: 4.039 MB / 0.6213 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7153, allocations: 0 / 0.6213 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.7165, allocations: 1.319 MB / 0.6225 GB, free: 120.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.7175, allocations: 329 kB / 0.6229 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/0.726, allocations: 7.867 MB / 0.6305 GB, free: 116.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.727, allocations: 1.172 MB / 0.6317 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00237/0.7294, allocations: 1.671 MB / 0.6333 GB, free: 116 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.73, allocations: 210.9 kB / 0.6335 GB, free: 116 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/0.73, allocations: 0 / 0.6335 GB, free: 116 MB / 458.7 MB Notification: Performance of Templates: time 0.05019/0.7802, allocations: 50.04 MB / 0.6824 GB, free: 80.13 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.490360449068248]