Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2597/0.2597, allocations: 46.94 MB / 357.1 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.0_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_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 71.89 kB / 0.4914 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1611, allocations: 66 MB / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01671/0.1778, allocations: 11.81 MB / 0.5674 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.1885, allocations: 4.081 MB / 0.5714 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/0.1912, allocations: 75.69 kB / 0.5714 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.1944, allocations: 1.206 MB / 0.5726 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.1998, allocations: 1.755 MB / 0.5743 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.2018, allocations: 0.5652 MB / 0.5749 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007156/0.209, allocations: 4.03 MB / 0.5788 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.2123, allocations: 1.584 MB / 0.5804 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.2152, allocations: 1.171 MB / 0.5815 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003795/0.219, allocations: 1.861 MB / 0.5833 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.22, allocations: 216 kB / 0.5835 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.2237, allocations: 1.33 MB / 0.5848 GB, free: 7.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.2267, allocations: 1.608 MB / 0.5864 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004038/0.2308, allocations: 1.828 MB / 0.5882 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3529/0.5837, allocations: 6.195 MB / 0.5942 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5837, allocations: 0.5938 kB / 0.5942 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5837, allocations: 0 / 0.5942 GB, free: 12.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001931/0.5839, allocations: 2.562 kB / 0.5942 GB, free: 12.95 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.01086/0.5948, allocations: 4.187 MB / 0.5983 GB, free: 11.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5948, allocations: 9.031 kB / 0.5983 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02405/0.6189, allocations: 6.165 MB / 0.6044 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007097/0.626, allocations: 2.182 MB / 0.6065 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.6262, allocations: 175.8 kB / 0.6067 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.6273, allocations: 312.7 kB / 0.607 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.6504, allocations: 10.71 MB / 0.6174 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002483/0.6506, allocations: 34.11 kB / 0.6175 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001477/0.6521, allocations: 115.1 kB / 0.6176 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006334/0.6585, allocations: 2.462 MB / 0.62 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/0.6814, allocations: 10.16 MB / 0.6299 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07171/0.7532, allocations: 35.57 MB / 0.6646 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/0.7669, allocations: 5.386 MB / 0.6699 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003952/0.7709, allocations: 2.185 MB / 0.672 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/0.773, allocations: 1.876 MB / 0.6739 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.688e-05/0.7731, allocations: 50.64 kB / 0.6739 GB, free: 3.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 7.103e-06/0.7731, allocations: 8 kB / 0.6739 GB, free: 3.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=231): time 0.04798/0.8211, allocations: 15.01 MB / 0.6886 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0018/0.8229, allocations: 1.607 MB / 0.6901 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006833/0.8297, allocations: 2.801 MB / 0.6929 GB, free: 316 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009725/0.8307, allocations: 56.23 kB / 0.6929 GB, free: 256 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00326/0.8339, allocations: 2.803 MB / 0.6957 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/0.836, allocations: 0.8925 MB / 0.6965 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004064/0.84, allocations: 1.118 MB / 0.6976 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8402, allocations: 301.1 kB / 0.6979 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005422/0.8456, allocations: 2.627 MB / 0.7005 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008368/0.8539, allocations: 5.647 MB / 0.706 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/0.868, allocations: 8.942 MB / 0.7147 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.8681, allocations: 28 kB / 0.7148 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07349/0.9416, allocations: 17.15 MB / 0.7315 GB, free: 6.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.9418, allocations: 48 kB / 0.7315 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05025/0.992, allocations: 10.61 MB / 0.7419 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05198/1.044, allocations: 8.643 MB / 0.7503 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/1.049, allocations: 1.322 MB / 0.7516 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03684/1.086, allocations: 17.81 MB / 0.769 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006117/1.092, allocations: 423.6 kB / 0.7694 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001887/1.094, allocations: 328 kB / 0.7697 GB, free: 15.24 MB / 0.5919 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.007946/1.102, allocations: 2.029 MB / 0.7717 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.104, allocations: 286.1 kB / 0.772 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/1.118, allocations: 5.098 MB / 0.777 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01012/1.128, allocations: 4.393 MB / 0.7813 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.128, allocations: 4 kB / 0.7813 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/1.128, allocations: 11.91 kB / 0.7813 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03221/1.16, allocations: 12.91 MB / 0.7939 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/1.16, allocations: 8 kB / 0.7939 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.163, allocations: 459.3 kB / 0.7943 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/1.167, allocations: 0.9386 MB / 0.7953 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006684/1.167, allocations: 55.17 kB / 0.7953 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/1.177, allocations: 5.834 MB / 0.801 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001996/1.179, allocations: 1.554 MB / 0.8025 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/1.197, allocations: 7.733 MB / 0.8101 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.198, allocations: 343.2 kB / 0.8104 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009242/1.199, allocations: 51.92 kB / 0.8104 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.201, allocations: 194.8 kB / 0.8106 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006897/1.202, allocations: 141 kB / 0.8108 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/1.202, allocations: 64.3 kB / 0.8108 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004056/1.206, allocations: 1.717 MB / 0.8125 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.206, allocations: 0 / 0.8125 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006773/1.213, allocations: 1.089 MB / 0.8136 GB, free: 1.578 MB / 0.6231 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.001025/1.214, allocations: 189.2 kB / 0.8137 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.228, allocations: 6.301 MB / 0.8199 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.228, allocations: 0 / 0.8199 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004732/1.233, allocations: 2.375 MB / 0.8222 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/1.236, allocations: 386.3 kB / 0.8226 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3575/1.594, allocations: 9.937 MB / 0.8323 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00563/1.599, allocations: 3.165 MB / 0.8354 GB, free: 223.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006552/1.606, allocations: 2.058 MB / 0.8374 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/1.607, allocations: 212.7 kB / 0.8376 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.643e-06/1.607, allocations: 0 / 0.8376 GB, free: 223.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.07594/1.683, allocations: 44.29 MB / 0.8808 GB, free: 197 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.031481310725212]