Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 110 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 190 kB / 22.98 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2312/0.2312, allocations: 44.22 MB / 330.2 MB, free: 9.648 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 75.91 kB / 467.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1577, allocations: 61.04 MB / 0.5166 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01526/0.1729, allocations: 11.89 MB / 0.5282 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.1837, allocations: 4.094 MB / 0.5322 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.1866, allocations: 71.69 kB / 0.5323 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.1901, allocations: 1.206 MB / 0.5334 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007204/0.1973, allocations: 1.81 MB / 0.5352 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.1993, allocations: 0.5496 MB / 0.5357 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.362/0.5613, allocations: 3.956 MB / 0.5396 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/0.5645, allocations: 1.476 MB / 0.5411 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.5681, allocations: 1.189 MB / 0.5422 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004454/0.5725, allocations: 1.87 MB / 0.544 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.5736, allocations: 217.1 kB / 0.5442 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.5775, allocations: 1.345 MB / 0.5456 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002949/0.5805, allocations: 1.627 MB / 0.5471 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003213/0.5837, allocations: 1.849 MB / 0.549 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.5957, allocations: 6.274 MB / 0.5551 GB, free: 8.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5957, allocations: 0.9688 kB / 0.5551 GB, free: 8.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5957, allocations: 0 / 0.5551 GB, free: 8.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002808/0.596, allocations: 0 / 0.5551 GB, free: 8.699 MB / 414.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.01318/0.6092, allocations: 4.151 MB / 0.5591 GB, free: 6.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/0.6093, allocations: 10.56 kB / 0.5591 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01902/0.6283, allocations: 5.698 MB / 0.5647 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008315/0.6366, allocations: 2.214 MB / 0.5669 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.637, allocations: 177.5 kB / 0.567 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002799/0.6398, allocations: 321.2 kB / 0.5673 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02767/0.6675, allocations: 10.72 MB / 0.5778 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.785e-05/0.6676, allocations: 28.06 kB / 0.5778 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.668, allocations: 112 kB / 0.5779 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004186/0.6722, allocations: 2.455 MB / 0.5803 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02656/0.6987, allocations: 10.17 MB / 0.5903 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07447/0.7732, allocations: 35.45 MB / 0.6249 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.7856, allocations: 4.475 MB / 0.6293 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003894/0.7894, allocations: 2.189 MB / 0.6314 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.7907, allocations: 0.5487 MB / 0.6319 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.7908, allocations: 56.55 kB / 0.632 GB, free: 9.152 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 5.921e-06/0.7908, allocations: 0 / 0.632 GB, free: 9.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.04298/0.8338, allocations: 14.8 MB / 0.6464 GB, free: 10.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002137/0.8359, allocations: 1.513 MB / 0.6479 GB, free: 8.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00802/0.8439, allocations: 2.815 MB / 0.6507 GB, free: 5.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009279/0.8449, allocations: 49.7 kB / 0.6507 GB, free: 5.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003317/0.8482, allocations: 2.802 MB / 0.6535 GB, free: 3.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002155/0.8503, allocations: 0.8902 MB / 0.6543 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002463/0.8528, allocations: 1.112 MB / 0.6554 GB, free: 1.004 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8529, allocations: 301.1 kB / 0.6557 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004866/0.8578, allocations: 2.634 MB / 0.6583 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008365/0.8662, allocations: 5.642 MB / 0.6638 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/0.8816, allocations: 8.945 MB / 0.6725 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001548/0.8818, allocations: 28 kB / 0.6725 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0709/0.9527, allocations: 19.04 MB / 0.6911 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.9529, allocations: 48 kB / 0.6912 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04581/0.9987, allocations: 12 MB / 0.7029 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04727/1.046, allocations: 10.28 MB / 0.7129 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00585/1.052, allocations: 1.314 MB / 0.7142 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03906/1.091, allocations: 18.01 MB / 0.7318 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0081/1.099, allocations: 427.5 kB / 0.7322 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/1.101, allocations: 320 kB / 0.7325 GB, free: 15.14 MB / 0.5762 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.007669/1.108, allocations: 2.034 MB / 0.7345 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008782/1.109, allocations: 282.9 kB / 0.7348 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.124, allocations: 5.106 MB / 0.7398 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01277/1.136, allocations: 4.385 MB / 0.744 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/1.136, allocations: 4 kB / 0.7441 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/1.136, allocations: 19.89 kB / 0.7441 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03168/1.168, allocations: 12.75 MB / 0.7565 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.168, allocations: 8 kB / 0.7565 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/1.17, allocations: 459.2 kB / 0.757 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002996/1.173, allocations: 0.9402 MB / 0.7579 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/1.173, allocations: 59.59 kB / 0.7579 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4065/1.58, allocations: 5.618 MB / 0.7634 GB, free: 199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001012/1.581, allocations: 1.443 MB / 0.7648 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.596, allocations: 7.744 MB / 0.7724 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.597, allocations: 266.2 kB / 0.7727 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/1.597, allocations: 50.02 kB / 0.7727 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.599, allocations: 193.8 kB / 0.7729 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/1.6, allocations: 149.2 kB / 0.773 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.6, allocations: 69.95 kB / 0.7731 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004305/1.604, allocations: 1.732 MB / 0.7748 GB, free: 196 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.604, allocations: 0 / 0.7748 GB, free: 196 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007686/1.612, allocations: 1.107 MB / 0.7759 GB, free: 195.9 MB / 0.5919 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.0006064/1.613, allocations: 181.9 kB / 0.776 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01472/1.627, allocations: 6.296 MB / 0.7822 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.161e-05/1.627, allocations: 1 kB / 0.7822 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004315/1.632, allocations: 2.293 MB / 0.7844 GB, free: 193 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/1.634, allocations: 386.5 kB / 0.7848 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/1.653, allocations: 10.08 MB / 0.7946 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/1.657, allocations: 3.159 MB / 0.7977 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004282/1.661, allocations: 2.06 MB / 0.7997 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007263/1.662, allocations: 220.9 kB / 0.8 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.483e-06/1.662, allocations: 0 / 0.8 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.07664/1.738, allocations: 48.49 MB / 0.8473 GB, free: 142.7 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.051082377322018]