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.001731/0.001731, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001483/0.001483, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.456/1.456, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2395/0.2395, allocations: 46.89 MB / 361.1 MB, free: 4.633 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.002607/0.002607, allocations: 75.88 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4168, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01467/0.4314, allocations: 11.82 MB / 0.5728 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009439/0.4409, allocations: 4.108 MB / 0.5768 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.4427, allocations: 63.88 kB / 0.5768 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.4452, allocations: 1.206 MB / 0.578 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.4494, allocations: 1.756 MB / 0.5797 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.4508, allocations: 0.5613 MB / 0.5803 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00554/0.4563, allocations: 4.032 MB / 0.5842 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.4583, allocations: 1.462 MB / 0.5856 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.4602, allocations: 1.156 MB / 0.5868 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.4626, allocations: 1.853 MB / 0.5886 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004849/0.4631, allocations: 220 kB / 0.5888 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.4658, allocations: 1.334 MB / 0.5901 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.4675, allocations: 1.601 MB / 0.5916 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.4695, allocations: 1.84 MB / 0.5934 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00787/0.4774, allocations: 6.193 MB / 0.5995 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4774, allocations: 0 / 0.5995 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4774, allocations: 4 kB / 0.5995 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.4775, allocations: 0 / 0.5995 GB, free: 13.62 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.009766/0.4873, allocations: 4.186 MB / 0.6036 GB, free: 9.363 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4874, allocations: 12.03 kB / 0.6036 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02107/0.5084, allocations: 6.159 MB / 0.6096 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/0.5154, allocations: 2.186 MB / 0.6117 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.5155, allocations: 180.8 kB / 0.6119 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.5167, allocations: 307.7 kB / 0.6122 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.5368, allocations: 10.72 MB / 0.6227 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.668e-05/0.5369, allocations: 27.77 kB / 0.6227 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/0.5373, allocations: 111.8 kB / 0.6228 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004654/0.5419, allocations: 2.459 MB / 0.6252 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02356/0.5655, allocations: 10.17 MB / 0.6352 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06048/0.6259, allocations: 35.55 MB / 0.6699 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.638, allocations: 5.398 MB / 0.6751 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003782/0.6417, allocations: 2.189 MB / 0.6773 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.6439, allocations: 1.872 MB / 0.6791 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.644, allocations: 56.5 kB / 0.6792 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 5.991e-06/0.644, allocations: 4 kB / 0.6792 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.04275/0.6867, allocations: 15.01 MB / 0.6938 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001779/0.6885, allocations: 1.611 MB / 0.6954 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005647/0.6942, allocations: 2.795 MB / 0.6981 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005925/0.6947, allocations: 53.7 kB / 0.6982 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002943/0.6977, allocations: 2.791 MB / 0.7009 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/0.6992, allocations: 0.8953 MB / 0.7018 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003473/0.7026, allocations: 1.112 MB / 0.7029 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7028, allocations: 305.1 kB / 0.7031 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005169/0.708, allocations: 2.63 MB / 0.7057 GB, free: 14.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008943/0.7169, allocations: 5.64 MB / 0.7112 GB, free: 7.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/0.731, allocations: 8.949 MB / 0.72 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/0.7311, allocations: 32 kB / 0.72 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.4152/1.146, allocations: 17.14 MB / 0.7367 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.576e-05/1.146, allocations: 47.12 kB / 0.7368 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04198/1.188, allocations: 10.62 MB / 0.7471 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04645/1.235, allocations: 8.638 MB / 0.7556 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004376/1.239, allocations: 1.317 MB / 0.7569 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02473/1.264, allocations: 17.82 MB / 0.7743 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/1.268, allocations: 419.6 kB / 0.7747 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006154/1.269, allocations: 319.9 kB / 0.775 GB, free: 123.8 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.002653/1.271, allocations: 2.018 MB / 0.7769 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/1.272, allocations: 282.6 kB / 0.7772 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006972/1.279, allocations: 5.11 MB / 0.7822 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005902/1.285, allocations: 4.392 MB / 0.7865 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.285, allocations: 4 kB / 0.7865 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.285, allocations: 7.969 kB / 0.7865 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.303, allocations: 12.9 MB / 0.7991 GB, free: 99.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.303, allocations: 8 kB / 0.7991 GB, free: 99.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.304, allocations: 455.2 kB / 0.7995 GB, free: 98.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002746/1.307, allocations: 0.9467 MB / 0.8005 GB, free: 97.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002037/1.307, allocations: 51.97 kB / 0.8005 GB, free: 97.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005295/1.313, allocations: 5.832 MB / 0.8062 GB, free: 91.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007014/1.313, allocations: 1.553 MB / 0.8077 GB, free: 90.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009501/1.323, allocations: 7.735 MB / 0.8153 GB, free: 82.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008812/1.324, allocations: 346.8 kB / 0.8156 GB, free: 82.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/1.324, allocations: 39.98 kB / 0.8157 GB, free: 82.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.326, allocations: 195.7 kB / 0.8158 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.326, allocations: 145.2 kB / 0.816 GB, free: 81.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.326, allocations: 70.81 kB / 0.8161 GB, free: 81.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002005/1.328, allocations: 1.722 MB / 0.8177 GB, free: 79.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.328, allocations: 0 / 0.8177 GB, free: 79.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004297/1.332, allocations: 1.09 MB / 0.8188 GB, free: 78.87 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.0005107/1.333, allocations: 182.1 kB / 0.819 GB, free: 78.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008987/1.342, allocations: 6.306 MB / 0.8251 GB, free: 72.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/1.342, allocations: 0 / 0.8251 GB, free: 72.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003/1.345, allocations: 2.37 MB / 0.8274 GB, free: 69.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.347, allocations: 379.4 kB / 0.8278 GB, free: 69.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.361, allocations: 10.06 MB / 0.8376 GB, free: 59.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/1.363, allocations: 3.167 MB / 0.8407 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003562/1.367, allocations: 2.06 MB / 0.8427 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/1.367, allocations: 215 kB / 0.8429 GB, free: 53.93 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/1.367, allocations: 4 kB / 0.8429 GB, free: 53.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.06317/1.431, allocations: 45.91 MB / 0.8878 GB, free: 8.102 MB / 0.5606 GB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.569163741078228]