Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 165.7 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 177.1 MB / 204.7 MB, free: 8.855 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 34.25 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 79.88 kB / 443.1 MB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3306, allocations: 66.06 MB / 0.4973 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008267/0.3388, allocations: 10.27 MB / 0.5073 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006239/0.3451, allocations: 3.865 MB / 0.5111 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.3463, allocations: 70.38 kB / 0.5111 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.3482, allocations: 1.167 MB / 0.5123 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.352, allocations: 1.772 MB / 0.514 GB, free: 19.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.3532, allocations: 0.5649 MB / 0.5146 GB, free: 19.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00501/0.3583, allocations: 4.035 MB / 0.5185 GB, free: 17.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.3603, allocations: 1.671 MB / 0.5201 GB, free: 17.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.3622, allocations: 1.178 MB / 0.5213 GB, free: 16.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.365, allocations: 1.788 MB / 0.523 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006749/0.3656, allocations: 217.9 kB / 0.5232 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.3685, allocations: 1.182 MB / 0.5244 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.371, allocations: 1.608 MB / 0.526 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.3733, allocations: 1.302 MB / 0.5272 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.3834, allocations: 6.233 MB / 0.5333 GB, free: 11.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3834, allocations: 0 / 0.5333 GB, free: 11.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3834, allocations: 0 / 0.5333 GB, free: 11.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002417/0.3836, allocations: 0 / 0.5333 GB, free: 11.55 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.00894/0.3926, allocations: 4.118 MB / 0.5373 GB, free: 8.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3926, allocations: 13.66 kB / 0.5374 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/0.4123, allocations: 6.213 MB / 0.5434 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/0.4181, allocations: 2.141 MB / 0.5455 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.912e-05/0.4182, allocations: 176.8 kB / 0.5457 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008967/0.4191, allocations: 315.6 kB / 0.546 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.4377, allocations: 10.73 MB / 0.5565 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-05/0.4378, allocations: 27.77 kB / 0.5565 GB, free: 8.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004037/0.4382, allocations: 111.8 kB / 0.5566 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00425/0.4424, allocations: 2.463 MB / 0.559 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/0.4641, allocations: 10.18 MB / 0.5689 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05318/0.5173, allocations: 33.12 MB / 0.6013 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/0.5296, allocations: 4.591 MB / 0.6058 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/0.533, allocations: 2.186 MB / 0.6079 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.5342, allocations: 0.5441 MB / 0.6084 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.5343, allocations: 56.55 kB / 0.6085 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 7.504e-06/0.5343, allocations: 3.984 kB / 0.6085 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.03789/0.5722, allocations: 15.04 MB / 0.6232 GB, free: 3.078 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001537/0.5737, allocations: 1.484 MB / 0.6246 GB, free: 1.473 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004263/0.578, allocations: 2.829 MB / 0.6274 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005778/0.5785, allocations: 57.61 kB / 0.6274 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002641/0.5812, allocations: 2.799 MB / 0.6302 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/0.5828, allocations: 0.8875 MB / 0.631 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/0.5848, allocations: 1.12 MB / 0.6321 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.585, allocations: 305.3 kB / 0.6324 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004622/0.5896, allocations: 2.63 MB / 0.635 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008004/0.5976, allocations: 5.644 MB / 0.6405 GB, free: 15.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.6106, allocations: 8.937 MB / 0.6492 GB, free: 5.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.316e-05/0.6107, allocations: 32 kB / 0.6493 GB, free: 5.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0688/0.6795, allocations: 17.13 MB / 0.666 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-05/0.6796, allocations: 56.25 kB / 0.666 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04939/0.729, allocations: 10.61 MB / 0.6764 GB, free: 9.336 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05182/0.7808, allocations: 8.639 MB / 0.6848 GB, free: 0.6719 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004947/0.7858, allocations: 1.314 MB / 0.6861 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2899/1.076, allocations: 17.28 MB / 0.703 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/1.08, allocations: 425.2 kB / 0.7034 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.081, allocations: 316 kB / 0.7037 GB, free: 163.9 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.003853/1.085, allocations: 2.023 MB / 0.7057 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/1.086, allocations: 277 kB / 0.706 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00788/1.094, allocations: 5.097 MB / 0.7109 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006543/1.1, allocations: 4.393 MB / 0.7152 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.1, allocations: 7.219 kB / 0.7152 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/1.1, allocations: 12.25 kB / 0.7152 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.119, allocations: 11.53 MB / 0.7265 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.119, allocations: 9.938 kB / 0.7265 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/1.121, allocations: 461.2 kB / 0.727 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/1.124, allocations: 0.9392 MB / 0.7279 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/1.125, allocations: 46.92 kB / 0.7279 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007045/1.132, allocations: 5.552 MB / 0.7333 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008656/1.133, allocations: 1.422 MB / 0.7347 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.145, allocations: 7.717 MB / 0.7423 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/1.146, allocations: 259 kB / 0.7425 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/1.147, allocations: 38.89 kB / 0.7425 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/1.148, allocations: 201.3 kB / 0.7427 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/1.148, allocations: 158.3 kB / 0.7429 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.148, allocations: 70.27 kB / 0.743 GB, free: 149 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001932/1.15, allocations: 1.602 MB / 0.7445 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.15, allocations: 0 / 0.7445 GB, free: 148.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004057/1.154, allocations: 1.089 MB / 0.7456 GB, free: 148.4 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.0003819/1.155, allocations: 183.4 kB / 0.7458 GB, free: 148.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008459/1.163, allocations: 6.226 MB / 0.7518 GB, free: 146.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.163, allocations: 3.781 kB / 0.7518 GB, free: 146.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002967/1.166, allocations: 2.298 MB / 0.7541 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/1.168, allocations: 298.6 kB / 0.7544 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.181, allocations: 10.05 MB / 0.7642 GB, free: 136.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.183, allocations: 2.615 MB / 0.7667 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00358/1.187, allocations: 2.046 MB / 0.7687 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006609/1.187, allocations: 208.4 kB / 0.7689 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/1.187, allocations: 0 / 0.7689 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.05575/1.243, allocations: 39.74 MB / 0.8077 GB, free: 92.78 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.099004199029878]