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.001351/0.001351, allocations: 70.42 kB / 21.24 MB, free: 0.5391 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.001405/0.001405, allocations: 158.5 kB / 24.5 MB, free: 3.711 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.486/1.486, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.2185/0.2185, allocations: 34.28 MB / 295.5 MB, free: 14.57 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.002043/0.002043, allocations: 71.88 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 66.01 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008605/0.3261, allocations: 10.26 MB / 0.5073 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006098/0.3322, allocations: 3.862 MB / 0.511 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009355/0.3331, allocations: 69.94 kB / 0.5111 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.3349, allocations: 1.173 MB / 0.5122 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.3377, allocations: 1.772 MB / 0.514 GB, free: 19.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3387, allocations: 0.5607 MB / 0.5145 GB, free: 19.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004191/0.3429, allocations: 4.032 MB / 0.5185 GB, free: 17.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.3446, allocations: 1.679 MB / 0.5201 GB, free: 17.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.346, allocations: 1.173 MB / 0.5212 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/0.3483, allocations: 1.788 MB / 0.523 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000438/0.3488, allocations: 217.4 kB / 0.5232 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.3509, allocations: 1.191 MB / 0.5244 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.3524, allocations: 1.603 MB / 0.5259 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.3536, allocations: 1.298 MB / 0.5272 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.3602, allocations: 6.233 MB / 0.5333 GB, free: 11.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3602, allocations: 1.594 kB / 0.5333 GB, free: 11.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3602, allocations: 0 / 0.5333 GB, free: 11.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.3604, allocations: 0 / 0.5333 GB, free: 11.64 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.006729/0.3671, allocations: 4.114 MB / 0.5373 GB, free: 8.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3671, allocations: 9.438 kB / 0.5373 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/0.3872, allocations: 6.216 MB / 0.5434 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006771/0.394, allocations: 2.143 MB / 0.5455 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.3941, allocations: 180.8 kB / 0.5456 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.3951, allocations: 315.6 kB / 0.5459 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.417, allocations: 10.73 MB / 0.5564 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.4172, allocations: 23.77 kB / 0.5564 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000588/0.4177, allocations: 115.8 kB / 0.5566 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006012/0.4238, allocations: 2.467 MB / 0.559 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03382/0.4576, allocations: 10.16 MB / 0.5689 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08426/0.5418, allocations: 33.12 MB / 0.6012 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01992/0.5618, allocations: 4.606 MB / 0.6057 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005623/0.5674, allocations: 2.185 MB / 0.6079 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/0.5694, allocations: 0.548 MB / 0.6084 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.256e-05/0.5695, allocations: 44.56 kB / 0.6084 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 8.626e-06/0.5695, allocations: 0 / 0.6084 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.06203/0.6315, allocations: 15.05 MB / 0.6231 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00204/0.6336, allocations: 1.488 MB / 0.6246 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006806/0.6404, allocations: 2.829 MB / 0.6273 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006535/0.641, allocations: 57.61 kB / 0.6274 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003395/0.6444, allocations: 2.799 MB / 0.6301 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00189/0.6463, allocations: 0.8914 MB / 0.631 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003868/0.6502, allocations: 1.112 MB / 0.6321 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.6504, allocations: 309.1 kB / 0.6324 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007339/0.6577, allocations: 2.63 MB / 0.635 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/0.6692, allocations: 5.644 MB / 0.6405 GB, free: 15.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01981/0.689, allocations: 8.937 MB / 0.6492 GB, free: 5.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/0.6892, allocations: 28 kB / 0.6492 GB, free: 5.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.09665/0.7858, allocations: 17.14 MB / 0.666 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-05/0.7859, allocations: 48 kB / 0.666 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04764/0.8336, allocations: 10.61 MB / 0.6764 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05033/0.8839, allocations: 8.643 MB / 0.6848 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005691/0.8896, allocations: 1.318 MB / 0.6861 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3351/1.225, allocations: 17.28 MB / 0.703 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005744/1.23, allocations: 419.5 kB / 0.7034 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.232, allocations: 318.7 kB / 0.7037 GB, free: 164 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.004746/1.236, allocations: 2.022 MB / 0.7056 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/1.237, allocations: 277.5 kB / 0.7059 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007881/1.245, allocations: 5.1 MB / 0.7109 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006317/1.251, allocations: 4.396 MB / 0.7152 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.251, allocations: 3.125 kB / 0.7152 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/1.251, allocations: 9.656 kB / 0.7152 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/1.272, allocations: 11.53 MB / 0.7265 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/1.272, allocations: 10.83 kB / 0.7265 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.274, allocations: 461.8 kB / 0.7269 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/1.277, allocations: 0.9371 MB / 0.7278 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/1.278, allocations: 53.69 kB / 0.7279 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006645/1.284, allocations: 5.553 MB / 0.7333 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007488/1.285, allocations: 1.428 MB / 0.7347 GB, free: 152 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.297, allocations: 7.724 MB / 0.7422 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009296/1.297, allocations: 248.8 kB / 0.7425 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.298, allocations: 41.84 kB / 0.7425 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.299, allocations: 199.5 kB / 0.7427 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/1.3, allocations: 153.8 kB / 0.7428 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.3, allocations: 65.08 kB / 0.7429 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002159/1.302, allocations: 1.603 MB / 0.7445 GB, free: 148.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.302, allocations: 5.531 kB / 0.7445 GB, free: 148.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004803/1.307, allocations: 1.086 MB / 0.7455 GB, free: 148.5 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.0004381/1.307, allocations: 174.8 kB / 0.7457 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009328/1.317, allocations: 6.23 MB / 0.7518 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/1.317, allocations: 3.969 kB / 0.7518 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003101/1.32, allocations: 2.295 MB / 0.754 GB, free: 145.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.322, allocations: 298.9 kB / 0.7543 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.336, allocations: 10.06 MB / 0.7641 GB, free: 136.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/1.339, allocations: 2.619 MB / 0.7667 GB, free: 134.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003691/1.342, allocations: 2.045 MB / 0.7687 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/1.343, allocations: 200.5 kB / 0.7689 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/1.343, allocations: 0 / 0.7689 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.05749/1.4, allocations: 39.73 MB / 0.8077 GB, free: 93.02 MB / 0.5919 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 -s ida -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/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_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.1671568169258535]