Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001579/0.001579, allocations: 108.5 kB / 21.23 MB, free: 0.6602 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.001943/0.001943, allocations: 187.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 71.88 kB / 497.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4099, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01499/0.4248, allocations: 11.87 MB / 0.5604 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.4355, allocations: 4.105 MB / 0.5644 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.4389, allocations: 67.75 kB / 0.5645 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003823/0.4428, allocations: 1.202 MB / 0.5657 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008149/0.4509, allocations: 1.818 MB / 0.5674 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.4537, allocations: 0.5496 MB / 0.568 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.464, allocations: 3.962 MB / 0.5718 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.4681, allocations: 1.466 MB / 0.5733 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.4716, allocations: 1.187 MB / 0.5744 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004492/0.4761, allocations: 1.865 MB / 0.5763 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.4773, allocations: 216 kB / 0.5765 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.4811, allocations: 1.353 MB / 0.5778 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002656/0.4838, allocations: 1.628 MB / 0.5794 GB, free: 28 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004229/0.488, allocations: 1.852 MB / 0.5812 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.4999, allocations: 6.27 MB / 0.5873 GB, free: 7.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.4999, allocations: 0 / 0.5873 GB, free: 7.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4999, allocations: 0 / 0.5873 GB, free: 7.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002861/0.5002, allocations: 3.938 kB / 0.5873 GB, free: 7.867 MB / 430.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.01264/0.5128, allocations: 4.145 MB / 0.5914 GB, free: 3.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.974e-05/0.5129, allocations: 12.03 kB / 0.5914 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0223/0.5352, allocations: 5.703 MB / 0.5969 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007744/0.5429, allocations: 2.176 MB / 0.5991 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.5432, allocations: 176.8 kB / 0.5992 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002176/0.5454, allocations: 311.6 kB / 0.5995 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02827/0.5737, allocations: 10.72 MB / 0.61 GB, free: 76 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.5738, allocations: 19.81 kB / 0.61 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001684/0.5755, allocations: 119.8 kB / 0.6101 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005387/0.5809, allocations: 2.463 MB / 0.6125 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/0.6068, allocations: 10.16 MB / 0.6225 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06679/0.6736, allocations: 35.45 MB / 0.6571 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.6864, allocations: 4.478 MB / 0.6614 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003766/0.6902, allocations: 2.193 MB / 0.6636 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/0.6915, allocations: 0.5403 MB / 0.6641 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.925e-05/0.6916, allocations: 60.5 kB / 0.6642 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 6.642e-06/0.6916, allocations: 0 / 0.6642 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.04464/0.7362, allocations: 14.79 MB / 0.6786 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001653/0.7379, allocations: 1.499 MB / 0.6801 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005671/0.7436, allocations: 2.807 MB / 0.6828 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005697/0.7441, allocations: 57.7 kB / 0.6829 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002991/0.7471, allocations: 2.791 MB / 0.6856 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/0.7488, allocations: 0.8952 MB / 0.6865 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002949/0.7517, allocations: 1.116 MB / 0.6876 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7519, allocations: 305.1 kB / 0.6879 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/0.7564, allocations: 2.63 MB / 0.6904 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008072/0.7645, allocations: 5.64 MB / 0.6959 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/0.7784, allocations: 8.945 MB / 0.7047 GB, free: 11.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001755/0.7786, allocations: 28 kB / 0.7047 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07447/0.8531, allocations: 19.03 MB / 0.7233 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.8532, allocations: 48 kB / 0.7233 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3916/1.245, allocations: 11.99 MB / 0.735 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05001/1.295, allocations: 10.28 MB / 0.7451 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/1.299, allocations: 1.322 MB / 0.7464 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02733/1.326, allocations: 18.03 MB / 0.764 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005089/1.332, allocations: 435.4 kB / 0.7644 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006752/1.332, allocations: 316 kB / 0.7647 GB, free: 142.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.003184/1.335, allocations: 2.025 MB / 0.7667 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/1.336, allocations: 286.9 kB / 0.7669 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007751/1.344, allocations: 5.094 MB / 0.7719 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005953/1.35, allocations: 4.403 MB / 0.7762 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.35, allocations: 0 / 0.7762 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/1.35, allocations: 11.97 kB / 0.7762 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.368, allocations: 12.74 MB / 0.7887 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.368, allocations: 4 kB / 0.7887 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.37, allocations: 462.6 kB / 0.7891 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002705/1.373, allocations: 0.9415 MB / 0.79 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/1.373, allocations: 51.97 kB / 0.7901 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005634/1.379, allocations: 5.633 MB / 0.7956 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008197/1.379, allocations: 1.459 MB / 0.797 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009457/1.389, allocations: 7.733 MB / 0.8046 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008268/1.39, allocations: 267.8 kB / 0.8048 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/1.39, allocations: 50.67 kB / 0.8049 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.392, allocations: 191.7 kB / 0.805 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/1.392, allocations: 150.6 kB / 0.8052 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.392, allocations: 69.97 kB / 0.8053 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002085/1.394, allocations: 1.725 MB / 0.8069 GB, free: 99.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.394, allocations: 0 / 0.8069 GB, free: 99.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0041/1.398, allocations: 1.106 MB / 0.808 GB, free: 98.42 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.000471/1.399, allocations: 181 kB / 0.8082 GB, free: 98.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009816/1.409, allocations: 6.297 MB / 0.8143 GB, free: 91.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.409, allocations: 0 / 0.8143 GB, free: 91.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003092/1.412, allocations: 2.308 MB / 0.8166 GB, free: 89.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.414, allocations: 369.5 kB / 0.817 GB, free: 89.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.427, allocations: 10.07 MB / 0.8268 GB, free: 79.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/1.43, allocations: 3.16 MB / 0.8299 GB, free: 75.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003693/1.434, allocations: 2.06 MB / 0.8319 GB, free: 73.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007202/1.434, allocations: 211.4 kB / 0.8321 GB, free: 73.62 MB / 0.5606 GB Notification: Performance of SimCode: time 9.81e-07/1.434, allocations: 0 / 0.8321 GB, free: 73.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.0672/1.501, allocations: 48.45 MB / 0.8794 GB, free: 25.32 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.011063436046243]