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.001271/0.001271, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001438/0.001438, allocations: 202.8 kB / 25.13 MB, free: 3.578 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.482/1.482, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2399/0.2399, allocations: 46.92 MB / 362 MB, free: 4.32 MB / 286.1 MB " [Timeout remaining time 180] 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.002378/0.002378, allocations: 84.05 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3508, allocations: 66.07 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01461/0.3654, allocations: 11.71 MB / 0.5738 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00951/0.375, allocations: 4.081 MB / 0.5778 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.3766, allocations: 75.75 kB / 0.5778 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.3794, allocations: 1.202 MB / 0.579 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.384, allocations: 1.786 MB / 0.5807 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3855, allocations: 0.5535 MB / 0.5813 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006054/0.3916, allocations: 4.038 MB / 0.5852 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002545/0.3941, allocations: 1.677 MB / 0.5869 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.3961, allocations: 1.179 MB / 0.588 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.3992, allocations: 1.861 MB / 0.5898 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007141/0.3999, allocations: 216 kB / 0.59 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.4026, allocations: 1.193 MB / 0.5912 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.4047, allocations: 1.604 MB / 0.5928 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002602/0.4073, allocations: 1.832 MB / 0.5946 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.4159, allocations: 6.219 MB / 0.6006 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4159, allocations: 4 kB / 0.6006 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4159, allocations: 0 / 0.6006 GB, free: 12.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002108/0.4161, allocations: 0 / 0.6006 GB, free: 12.88 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.009305/0.4254, allocations: 4.111 MB / 0.6047 GB, free: 8.707 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.4255, allocations: 12.03 kB / 0.6047 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/0.4448, allocations: 6.159 MB / 0.6107 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005722/0.4506, allocations: 2.122 MB / 0.6127 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.4508, allocations: 176.8 kB / 0.6129 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.452, allocations: 319.7 kB / 0.6132 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.4714, allocations: 10.72 MB / 0.6237 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.4715, allocations: 27.77 kB / 0.6237 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00045/0.4719, allocations: 115.8 kB / 0.6238 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004247/0.4762, allocations: 2.463 MB / 0.6262 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02181/0.498, allocations: 10.15 MB / 0.6361 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.055/0.553, allocations: 35.31 MB / 0.6706 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.5644, allocations: 4.473 MB / 0.675 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.5677, allocations: 2.189 MB / 0.6771 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.569, allocations: 0.5518 MB / 0.6777 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.5691, allocations: 52.5 kB / 0.6777 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 4.498e-06/0.5691, allocations: 0 / 0.6777 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03723/0.6063, allocations: 14.78 MB / 0.6922 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001452/0.6078, allocations: 1.507 MB / 0.6936 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.6116, allocations: 2.795 MB / 0.6964 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004146/0.612, allocations: 57.69 kB / 0.6964 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002203/0.6142, allocations: 2.791 MB / 0.6991 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.6153, allocations: 0.8875 MB / 0.7 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.6169, allocations: 1.112 MB / 0.7011 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.617, allocations: 305.2 kB / 0.7014 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004123/0.6212, allocations: 2.638 MB / 0.704 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006946/0.6281, allocations: 5.64 MB / 0.7095 GB, free: 10.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.6401, allocations: 8.945 MB / 0.7182 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.412e-05/0.6402, allocations: 28 kB / 0.7182 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.3347/0.9749, allocations: 17.14 MB / 0.735 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.975, allocations: 49.72 kB / 0.735 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03902/1.014, allocations: 10.61 MB / 0.7454 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03999/1.054, allocations: 8.648 MB / 0.7538 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/1.058, allocations: 1.306 MB / 0.7551 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/1.082, allocations: 17.62 MB / 0.7723 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.086, allocations: 427.5 kB / 0.7727 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.087, allocations: 316 kB / 0.773 GB, free: 126.2 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.00297/1.09, allocations: 2.03 MB / 0.775 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/1.091, allocations: 282.4 kB / 0.7753 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007147/1.098, allocations: 5.093 MB / 0.7802 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006009/1.104, allocations: 4.398 MB / 0.7845 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.104, allocations: 0 / 0.7845 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/1.104, allocations: 11.97 kB / 0.7845 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/1.121, allocations: 12.74 MB / 0.797 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.121, allocations: 8 kB / 0.797 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.123, allocations: 462.8 kB / 0.7974 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/1.126, allocations: 0.9406 MB / 0.7984 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/1.126, allocations: 47.98 kB / 0.7984 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/1.131, allocations: 5.627 MB / 0.8039 GB, free: 94.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006798/1.132, allocations: 1.454 MB / 0.8053 GB, free: 93.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009091/1.141, allocations: 7.737 MB / 0.8129 GB, free: 85.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/1.141, allocations: 263.3 kB / 0.8131 GB, free: 85.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/1.142, allocations: 48.3 kB / 0.8132 GB, free: 85.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.143, allocations: 205.5 kB / 0.8134 GB, free: 84.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/1.144, allocations: 144.9 kB / 0.8135 GB, free: 84.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/1.144, allocations: 67.98 kB / 0.8136 GB, free: 84.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002006/1.146, allocations: 1.713 MB / 0.8152 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.146, allocations: 0 / 0.8152 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004237/1.15, allocations: 1.092 MB / 0.8163 GB, free: 81.97 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.0004972/1.15, allocations: 183.2 kB / 0.8165 GB, free: 81.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009018/1.159, allocations: 6.228 MB / 0.8226 GB, free: 75.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.159, allocations: 0 / 0.8226 GB, free: 75.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003058/1.162, allocations: 2.3 MB / 0.8248 GB, free: 73.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.165, allocations: 386.1 kB / 0.8252 GB, free: 72.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.179, allocations: 10.05 MB / 0.835 GB, free: 62.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/1.182, allocations: 3.168 MB / 0.8381 GB, free: 59.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003587/1.185, allocations: 2.056 MB / 0.8401 GB, free: 57.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/1.186, allocations: 211.4 kB / 0.8403 GB, free: 57.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/1.186, allocations: 0 / 0.8403 GB, free: 57.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.06561/1.252, allocations: 48.35 MB / 0.8875 GB, free: 9.004 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 gbode -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/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.257186163915321]