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.0009412/0.0009412, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001176/0.001176, allocations: 156.5 kB / 24.55 MB, free: 12 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 0.9778/0.9778, allocations: 177 MB / 204.8 MB, free: 5.23 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.2767/0.2767, allocations: 34.85 MB / 296.3 MB, free: 492 kB / 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.583e-06/1.583e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.889e-05, allocations: 2.875 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.009547/0.009576, allocations: 11.31 MB / 390.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005419/0.01499, allocations: 3.998 MB / 394.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.01567, allocations: 67.75 kB / 394.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.01724, allocations: 1.257 MB / 395.4 MB, free: 1.379 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.01938, allocations: 1.84 MB / 397.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.02014, allocations: 0.6 MB / 397.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.02322, allocations: 4.704 MB / 402.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.02478, allocations: 2.255 MB / 404.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.02606, allocations: 1.863 MB / 406.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.02776, allocations: 2.073 MB / 408.7 MB, free: 3.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002314/0.02799, allocations: 224 kB / 409 MB, free: 3.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.02923, allocations: 1.252 MB / 410.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009098/0.03014, allocations: 1.69 MB / 411.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.03083, allocations: 0.977 MB / 412.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.0339, allocations: 4.195 MB / 417.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.0339, allocations: 0 / 417.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0339, allocations: 0 / 417.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.03393, allocations: 0 / 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.004288/0.03822, allocations: 4.614 MB / 421.7 MB, free: 6.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.03826, allocations: 8.031 kB / 421.7 MB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.04936, allocations: 6.714 MB / 428.4 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.05162, allocations: 1.834 MB / 430.2 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/0.05171, allocations: 176.8 kB / 430.4 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007609/0.05247, allocations: 304.6 kB / 430.7 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006177/0.05865, allocations: 5.719 MB / 436.4 MB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.05869, allocations: 27.75 kB / 436.5 MB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.05892, allocations: 115.8 kB / 436.6 MB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/0.06118, allocations: 2.463 MB / 439 MB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006096/0.06728, allocations: 3.822 MB / 442.9 MB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2254/0.2927, allocations: 35.28 MB / 478.1 MB, free: 64.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004865/0.2975, allocations: 2.923 MB / 481.1 MB, free: 64.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/0.2983, allocations: 0.6471 MB / 481.7 MB, free: 63.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.2989, allocations: 0.5142 MB / 482.2 MB, free: 63.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2989, allocations: 53.58 kB / 482.3 MB, free: 63.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 4.077e-06/0.2989, allocations: 0 / 482.3 MB, free: 63.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.01585/0.3148, allocations: 8.855 MB / 491.1 MB, free: 61.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006959/0.3155, allocations: 1.969 MB / 493.1 MB, free: 60 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/0.3182, allocations: 2.696 MB / 495.8 MB, free: 58.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.3183, allocations: 56.55 kB / 495.8 MB, free: 58.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.3197, allocations: 2.915 MB / 498.8 MB, free: 56.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/0.3202, allocations: 0.9238 MB / 499.7 MB, free: 56.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.3215, allocations: 1.169 MB / 0.4891 GB, free: 55.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.3215, allocations: 477.7 kB / 0.4896 GB, free: 55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.323, allocations: 0.8323 MB / 0.4904 GB, free: 54.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/0.3258, allocations: 5.282 MB / 0.4955 GB, free: 48.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.3304, allocations: 6.757 MB / 0.5021 GB, free: 42.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.014e-05/0.3304, allocations: 30.31 kB / 0.5022 GB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.04608/0.3765, allocations: 28.96 MB / 0.5304 GB, free: 22.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.3766, allocations: 56.25 kB / 0.5305 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03189/0.4084, allocations: 20.16 MB / 0.5502 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05857/0.467, allocations: 29.22 MB / 0.5787 GB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/0.4703, allocations: 1.314 MB / 0.58 GB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/0.4867, allocations: 10.03 MB / 0.5898 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/0.4904, allocations: 0.5462 MB / 0.5903 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003901/0.4908, allocations: 323.4 kB / 0.5906 GB, free: 8.086 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.001471/0.4923, allocations: 0.5737 MB / 0.5912 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.4927, allocations: 336.5 kB / 0.5915 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.4964, allocations: 2.621 MB / 0.5941 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00313/0.4995, allocations: 1.835 MB / 0.5959 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4996, allocations: 8 kB / 0.5959 GB, free: 2.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.4996, allocations: 7.969 kB / 0.5959 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2028/0.7023, allocations: 7.898 MB / 0.6036 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.7023, allocations: 8.25 kB / 0.6036 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7035, allocations: 458.8 kB / 0.604 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.7049, allocations: 0.6039 MB / 0.6046 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.705, allocations: 50.62 kB / 0.6047 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.7077, allocations: 4.406 MB / 0.609 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005481/0.7082, allocations: 1.914 MB / 0.6109 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004595/0.7128, allocations: 3.226 MB / 0.614 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.7134, allocations: 278.8 kB / 0.6143 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.7136, allocations: 41.05 kB / 0.6143 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/0.7144, allocations: 237.4 kB / 0.6145 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.7147, allocations: 152 kB / 0.6147 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.7148, allocations: 74.55 kB / 0.6148 GB, free: 121.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.716, allocations: 1.144 MB / 0.6159 GB, free: 121.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.716, allocations: 0.5938 kB / 0.6159 GB, free: 121.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00367/0.7196, allocations: 1.222 MB / 0.6171 GB, free: 121.1 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.0003909/0.72, allocations: 201.6 kB / 0.6173 GB, free: 121 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005559/0.7256, allocations: 4.038 MB / 0.6212 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.7256, allocations: 0 / 0.6212 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.7271, allocations: 1.323 MB / 0.6225 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.7282, allocations: 323.9 kB / 0.6228 GB, free: 120 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/0.7377, allocations: 7.869 MB / 0.6305 GB, free: 116.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7388, allocations: 1.168 MB / 0.6316 GB, free: 116 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002594/0.7414, allocations: 1.674 MB / 0.6333 GB, free: 115.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006483/0.7421, allocations: 209.9 kB / 0.6335 GB, free: 115.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/0.7421, allocations: 5.469 kB / 0.6335 GB, free: 115.9 MB / 458.7 MB Notification: Performance of Templates: time 0.05456/0.7966, allocations: 49.17 MB / 0.6815 GB, free: 81.01 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.669509660918266]