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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009974/0.0009974, allocations: 108 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3929/0.3929, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4362, allocations: 62.02 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02052/0.4568, allocations: 25.72 MB / 0.5403 GB, free: 19.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.4706, allocations: 6.423 MB / 0.5465 GB, free: 15.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006209/0.4768, allocations: 104.2 kB / 0.5466 GB, free: 15.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.4798, allocations: 1.127 MB / 0.5477 GB, free: 14.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.4856, allocations: 1.63 MB / 0.5493 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.4875, allocations: 0.5061 MB / 0.5498 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009456/0.497, allocations: 5.549 MB / 0.5552 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004327/0.5014, allocations: 1.753 MB / 0.557 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.5046, allocations: 1.011 MB / 0.5579 GB, free: 11.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004637/0.5093, allocations: 1.779 MB / 0.5597 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.5107, allocations: 152.9 kB / 0.5598 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.5145, allocations: 1.313 MB / 0.5611 GB, free: 9.609 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002676/0.5172, allocations: 1.552 MB / 0.5626 GB, free: 8.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003178/0.5204, allocations: 1.8 MB / 0.5644 GB, free: 7.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.5263, allocations: 5.907 MB / 0.5701 GB, free: 1.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5263, allocations: 0 / 0.5701 GB, free: 1.148 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5263, allocations: 0 / 0.5701 GB, free: 1.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001438/0.5265, allocations: 0 / 0.5701 GB, free: 1.148 MB / 378.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.007487/0.534, allocations: 4.111 MB / 0.5742 GB, free: 12.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.534, allocations: 8.031 kB / 0.5742 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0198/0.5538, allocations: 6.141 MB / 0.5802 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005983/0.5598, allocations: 2.158 MB / 0.5823 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.56, allocations: 184.8 kB / 0.5825 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009174/0.5609, allocations: 315.5 kB / 0.5828 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.5784, allocations: 10.71 MB / 0.5932 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.175e-05/0.5786, allocations: 27.75 kB / 0.5932 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003564/0.5789, allocations: 123.8 kB / 0.5934 GB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003793/0.5827, allocations: 2.463 MB / 0.5958 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/0.6026, allocations: 10.16 MB / 0.6057 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05539/0.6581, allocations: 35.69 MB / 0.6405 GB, free: 7.605 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.6693, allocations: 5.604 MB / 0.646 GB, free: 1.777 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/0.6724, allocations: 2.331 MB / 0.6483 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001787/0.6742, allocations: 1.88 MB / 0.6501 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.6743, allocations: 57.16 kB / 0.6502 GB, free: 13.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 7.144e-06/0.6743, allocations: 0 / 0.6502 GB, free: 13.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=231): time 0.03579/0.7101, allocations: 14.94 MB / 0.6648 GB, free: 14.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001282/0.7114, allocations: 1.527 MB / 0.6663 GB, free: 12.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/0.716, allocations: 2.802 MB / 0.669 GB, free: 9.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004141/0.7165, allocations: 53.7 kB / 0.669 GB, free: 9.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.7185, allocations: 2.681 MB / 0.6717 GB, free: 6.824 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.7197, allocations: 0.8519 MB / 0.6725 GB, free: 5.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003087/0.7228, allocations: 1.115 MB / 0.6736 GB, free: 4.832 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7229, allocations: 301.1 kB / 0.6739 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004543/0.7275, allocations: 2.634 MB / 0.6764 GB, free: 1.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3008/1.028, allocations: 5.633 MB / 0.6819 GB, free: 124.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009894/1.038, allocations: 8.948 MB / 0.6907 GB, free: 118.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.038, allocations: 28.62 kB / 0.6907 GB, free: 118.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06685/1.105, allocations: 17.15 MB / 0.7075 GB, free: 115.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.105, allocations: 49.72 kB / 0.7075 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04471/1.15, allocations: 10.63 MB / 0.7179 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04462/1.195, allocations: 8.64 MB / 0.7263 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/1.2, allocations: 1.312 MB / 0.7276 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/1.223, allocations: 15.64 MB / 0.7429 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/1.227, allocations: 423.1 kB / 0.7433 GB, free: 91.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006854/1.228, allocations: 316 kB / 0.7436 GB, free: 90.73 MB / 490.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.002742/1.231, allocations: 2.028 MB / 0.7456 GB, free: 88.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/1.231, allocations: 280.5 kB / 0.7458 GB, free: 88.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007202/1.238, allocations: 5.098 MB / 0.7508 GB, free: 83.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005849/1.244, allocations: 4.411 MB / 0.7551 GB, free: 79.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.244, allocations: 0 / 0.7551 GB, free: 79.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/1.244, allocations: 11.95 kB / 0.7551 GB, free: 79.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/1.262, allocations: 12.94 MB / 0.7678 GB, free: 66.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.262, allocations: 8 kB / 0.7678 GB, free: 66.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.264, allocations: 467 kB / 0.7682 GB, free: 65.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/1.267, allocations: 0.9425 MB / 0.7691 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/1.267, allocations: 47.97 kB / 0.7692 GB, free: 64.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005017/1.272, allocations: 5.446 MB / 0.7745 GB, free: 58.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007428/1.273, allocations: 1.459 MB / 0.7759 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03947/1.312, allocations: 26.06 MB / 0.8014 GB, free: 30.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/1.313, allocations: 333.5 kB / 0.8017 GB, free: 30.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006125/1.314, allocations: 47.77 kB / 0.8017 GB, free: 30.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.315, allocations: 191.7 kB / 0.8019 GB, free: 30.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004622/1.316, allocations: 140.9 kB / 0.8021 GB, free: 30.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.316, allocations: 71.97 kB / 0.8021 GB, free: 30.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001952/1.318, allocations: 1.721 MB / 0.8038 GB, free: 28.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.318, allocations: 4 kB / 0.8038 GB, free: 28.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004745/1.323, allocations: 1.361 MB / 0.8051 GB, free: 27.07 MB / 490.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.0004414/1.323, allocations: 188.8 kB / 0.8053 GB, free: 26.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008844/1.332, allocations: 6.546 MB / 0.8117 GB, free: 20.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.332, allocations: 4.062 kB / 0.8117 GB, free: 20.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002911/1.335, allocations: 2.523 MB / 0.8142 GB, free: 17.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.337, allocations: 363.2 kB / 0.8145 GB, free: 17.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/1.358, allocations: 13.89 MB / 0.8281 GB, free: 3.309 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004261/1.362, allocations: 3.238 MB / 0.8313 GB, free: 40 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005263/1.368, allocations: 2.068 MB / 0.8333 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009773/1.369, allocations: 211.4 kB / 0.8335 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.794e-06/1.369, allocations: 0 / 0.8335 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.3236/1.692, allocations: 50.5 MB / 0.8828 GB, free: 159.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches