Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.002104/0.002104, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002514/0.002514, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 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.532/1.532, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.229/0.229, allocations: 46.94 MB / 361.4 MB, free: 4.387 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 83.86 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3999, allocations: 66.04 MB / 0.5617 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01437/0.4142, allocations: 11.82 MB / 0.5732 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.4234, allocations: 4.109 MB / 0.5772 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.4254, allocations: 67.75 kB / 0.5773 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.4282, allocations: 1.206 MB / 0.5785 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004634/0.4329, allocations: 1.775 MB / 0.5802 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.4345, allocations: 0.5613 MB / 0.5807 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006145/0.4406, allocations: 4.04 MB / 0.5847 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.4428, allocations: 1.456 MB / 0.5861 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.4448, allocations: 1.183 MB / 0.5873 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/0.4477, allocations: 1.845 MB / 0.5891 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006504/0.4484, allocations: 216 kB / 0.5893 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.4511, allocations: 1.338 MB / 0.5906 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.4531, allocations: 1.616 MB / 0.5922 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002492/0.4556, allocations: 1.82 MB / 0.5939 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008437/0.464, allocations: 6.199 MB / 0.6 GB, free: 13.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.464, allocations: 4 kB / 0.6 GB, free: 13.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.464, allocations: 0 / 0.6 GB, free: 13.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001811/0.4642, allocations: 0 / 0.6 GB, free: 13.09 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.009155/0.4734, allocations: 4.114 MB / 0.604 GB, free: 8.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4734, allocations: 8.031 kB / 0.604 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01985/0.4933, allocations: 6.167 MB / 0.61 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.4997, allocations: 2.126 MB / 0.6121 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.4999, allocations: 176.8 kB / 0.6123 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.5013, allocations: 303.7 kB / 0.6126 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/0.523, allocations: 10.72 MB / 0.6231 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.091e-05/0.5231, allocations: 35.75 kB / 0.6231 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000395/0.5234, allocations: 107.8 kB / 0.6232 GB, free: 4.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004127/0.5276, allocations: 2.467 MB / 0.6256 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/0.5501, allocations: 10.15 MB / 0.6355 GB, free: 8.137 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0628/0.6129, allocations: 35.44 MB / 0.6701 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.6249, allocations: 4.473 MB / 0.6745 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.6285, allocations: 2.185 MB / 0.6766 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.6298, allocations: 0.5479 MB / 0.6772 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/0.6298, allocations: 64.42 kB / 0.6772 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 4.979e-06/0.6298, allocations: 0 / 0.6772 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.04063/0.6704, allocations: 14.78 MB / 0.6917 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001613/0.6721, allocations: 1.511 MB / 0.6931 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006148/0.6782, allocations: 2.791 MB / 0.6959 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008559/0.6791, allocations: 57.69 kB / 0.6959 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002892/0.682, allocations: 2.788 MB / 0.6986 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/0.6836, allocations: 0.8914 MB / 0.6995 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/0.6858, allocations: 1.112 MB / 0.7006 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6859, allocations: 313.1 kB / 0.7009 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/0.6901, allocations: 2.63 MB / 0.7035 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007967/0.6981, allocations: 5.64 MB / 0.709 GB, free: 10.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/0.7125, allocations: 8.952 MB / 0.7177 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001597/0.7126, allocations: 28 kB / 0.7177 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.4823/1.195, allocations: 17.14 MB / 0.7345 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.195, allocations: 52.44 kB / 0.7345 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07116/1.266, allocations: 10.61 MB / 0.7449 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05049/1.317, allocations: 8.641 MB / 0.7533 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/1.321, allocations: 1.31 MB / 0.7546 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02425/1.345, allocations: 17.62 MB / 0.7718 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/1.35, allocations: 419.5 kB / 0.7722 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007574/1.35, allocations: 324 kB / 0.7725 GB, free: 126.5 MB / 0.5606 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.002827/1.353, allocations: 2.02 MB / 0.7745 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/1.354, allocations: 282.1 kB / 0.7748 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007154/1.361, allocations: 5.104 MB / 0.7797 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006025/1.367, allocations: 4.391 MB / 0.784 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.367, allocations: 4 kB / 0.784 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/1.367, allocations: 9.047 kB / 0.784 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.385, allocations: 12.75 MB / 0.7965 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.385, allocations: 4 kB / 0.7965 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/1.387, allocations: 463.2 kB / 0.7969 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/1.389, allocations: 0.9418 MB / 0.7979 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/1.39, allocations: 47.98 kB / 0.7979 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005115/1.395, allocations: 5.633 MB / 0.8034 GB, free: 94.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007014/1.396, allocations: 1.449 MB / 0.8048 GB, free: 93.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009756/1.405, allocations: 7.727 MB / 0.8124 GB, free: 85.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008553/1.406, allocations: 271.4 kB / 0.8126 GB, free: 85.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/1.407, allocations: 47.81 kB / 0.8127 GB, free: 85.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.408, allocations: 199.6 kB / 0.8129 GB, free: 85.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/1.409, allocations: 152.9 kB / 0.813 GB, free: 85.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/1.409, allocations: 63.98 kB / 0.8131 GB, free: 85.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002593/1.411, allocations: 1.72 MB / 0.8147 GB, free: 83.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.411, allocations: 0 / 0.8147 GB, free: 83.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006175/1.418, allocations: 1.093 MB / 0.8158 GB, free: 82.3 MB / 0.5606 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.0006341/1.418, allocations: 183 kB / 0.816 GB, free: 82.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009692/1.428, allocations: 6.223 MB / 0.8221 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.428, allocations: 4 kB / 0.8221 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003247/1.431, allocations: 2.298 MB / 0.8243 GB, free: 73.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.433, allocations: 379.4 kB / 0.8247 GB, free: 73.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.448, allocations: 10.05 MB / 0.8345 GB, free: 63.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/1.451, allocations: 3.167 MB / 0.8376 GB, free: 59.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003674/1.455, allocations: 2.056 MB / 0.8396 GB, free: 57.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007156/1.455, allocations: 211.4 kB / 0.8398 GB, free: 57.56 MB / 0.5606 GB Notification: Performance of SimCode: time 2.014e-06/1.455, allocations: 0 / 0.8398 GB, free: 57.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.06956/1.525, allocations: 48.34 MB / 0.887 GB, free: 9.348 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.728712169453502]