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.001892/0.001892, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002334/0.002334, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2537/0.2537, allocations: 46.95 MB / 360.9 MB, free: 4.133 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+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.002072/0.002072, allocations: 63.89 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3698, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01481/0.3847, allocations: 10.26 MB / 0.5711 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009217/0.3939, allocations: 3.867 MB / 0.5749 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.3957, allocations: 67.75 kB / 0.5749 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002934/0.3986, allocations: 1.164 MB / 0.5761 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005104/0.4037, allocations: 1.775 MB / 0.5778 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.4058, allocations: 0.5652 MB / 0.5784 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007266/0.4131, allocations: 4.042 MB / 0.5823 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003534/0.4166, allocations: 1.681 MB / 0.584 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.4194, allocations: 1.175 MB / 0.5851 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/0.423, allocations: 1.857 MB / 0.5869 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.4241, allocations: 216 kB / 0.5871 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.4275, allocations: 1.197 MB / 0.5883 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.4301, allocations: 1.608 MB / 0.5899 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003227/0.4333, allocations: 1.296 MB / 0.5911 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.4442, allocations: 6.23 MB / 0.5972 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.4442, allocations: 0 / 0.5972 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4442, allocations: 0 / 0.5972 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002443/0.4445, allocations: 0 / 0.5972 GB, free: 15.01 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.009177/0.4536, allocations: 4.107 MB / 0.6012 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.4537, allocations: 8.031 kB / 0.6012 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/0.4748, allocations: 6.167 MB / 0.6072 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006947/0.4818, allocations: 2.137 MB / 0.6093 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.482, allocations: 180.8 kB / 0.6095 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.4833, allocations: 315.6 kB / 0.6098 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/0.5034, allocations: 10.71 MB / 0.6203 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.5036, allocations: 31.7 kB / 0.6203 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000428/0.504, allocations: 111.8 kB / 0.6204 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004705/0.5087, allocations: 2.463 MB / 0.6228 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.531, allocations: 10.13 MB / 0.6327 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06201/0.593, allocations: 32.96 MB / 0.6649 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.6055, allocations: 4.465 MB / 0.6692 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003799/0.6093, allocations: 2.183 MB / 0.6714 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.6108, allocations: 0.5519 MB / 0.6719 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.6108, allocations: 48.56 kB / 0.672 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 6.042e-06/0.6108, allocations: 0.5625 kB / 0.672 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.04056/0.6514, allocations: 14.77 MB / 0.6864 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001834/0.6532, allocations: 1.488 MB / 0.6878 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006566/0.6598, allocations: 2.829 MB / 0.6906 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000472/0.6603, allocations: 57.7 kB / 0.6907 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003019/0.6633, allocations: 2.803 MB / 0.6934 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/0.6649, allocations: 0.8914 MB / 0.6943 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003099/0.668, allocations: 1.112 MB / 0.6954 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6681, allocations: 309.1 kB / 0.6956 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004739/0.6728, allocations: 2.634 MB / 0.6982 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007657/0.6805, allocations: 5.64 MB / 0.7037 GB, free: 14.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/0.6939, allocations: 8.941 MB / 0.7125 GB, free: 4.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001545/0.6941, allocations: 28 kB / 0.7125 GB, free: 4.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06835/0.7624, allocations: 17.13 MB / 0.7292 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.7626, allocations: 52 kB / 0.7293 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3705/1.133, allocations: 10.6 MB / 0.7396 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04352/1.177, allocations: 8.645 MB / 0.7481 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/1.181, allocations: 1.307 MB / 0.7493 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02474/1.206, allocations: 17.3 MB / 0.7662 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/1.21, allocations: 415.6 kB / 0.7666 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007356/1.211, allocations: 324 kB / 0.7669 GB, free: 131.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.002715/1.214, allocations: 2.021 MB / 0.7689 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/1.214, allocations: 270.9 kB / 0.7692 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007026/1.221, allocations: 5.103 MB / 0.7742 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00603/1.227, allocations: 4.389 MB / 0.7784 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.227, allocations: 7.969 kB / 0.7784 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.227, allocations: 11.72 kB / 0.7785 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.245, allocations: 11.49 MB / 0.7897 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.245, allocations: 11.94 kB / 0.7897 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.247, allocations: 455.2 kB / 0.7901 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/1.249, allocations: 0.9423 MB / 0.791 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/1.249, allocations: 51.97 kB / 0.7911 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/1.254, allocations: 5.554 MB / 0.7965 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006832/1.255, allocations: 1.422 MB / 0.7979 GB, free: 99.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009242/1.264, allocations: 7.723 MB / 0.8055 GB, free: 91.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/1.265, allocations: 253.9 kB / 0.8057 GB, free: 91.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/1.266, allocations: 39.98 kB / 0.8057 GB, free: 91.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.267, allocations: 196.7 kB / 0.8059 GB, free: 91.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/1.267, allocations: 144.9 kB / 0.8061 GB, free: 91.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.267, allocations: 76.39 kB / 0.8061 GB, free: 91.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001806/1.269, allocations: 1.599 MB / 0.8077 GB, free: 89.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.269, allocations: 2 kB / 0.8077 GB, free: 89.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00395/1.273, allocations: 1.083 MB / 0.8088 GB, free: 88.41 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.0004382/1.274, allocations: 187.3 kB / 0.8089 GB, free: 88.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009101/1.283, allocations: 6.229 MB / 0.815 GB, free: 82.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.283, allocations: 0.875 kB / 0.815 GB, free: 82.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00314/1.286, allocations: 2.301 MB / 0.8173 GB, free: 79.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.288, allocations: 299.5 kB / 0.8175 GB, free: 79.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.305, allocations: 10.05 MB / 0.8274 GB, free: 69.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004847/1.309, allocations: 2.624 MB / 0.8299 GB, free: 66.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004531/1.314, allocations: 2.043 MB / 0.8319 GB, free: 64.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.315, allocations: 203.4 kB / 0.8321 GB, free: 64.35 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.315, allocations: 0 / 0.8321 GB, free: 64.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.06852/1.383, allocations: 46.03 MB / 0.8771 GB, free: 18.6 MB / 0.5606 GB " [Timeout remaining time 659] 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: 7.603618470020592]